/*
 * Minha Conta (WooCommerce) - AE Digital
 * Carregado só em is_account_page() por aedigital_scripts() (modulos/ae/core.php).
 * Estiliza o markup padrão do WooCommerce, sem override de template.
 * Cores do tema: --global-palette1 (#910e43) e --global-palette5 (#ffc231).
 */
body.woocommerce-account {
	--ae-acc-primary: var(--global-palette1, #910e43);
	--ae-acc-primary-soft: #f8edf1;
	--ae-acc-accent: var(--global-palette5, #ffc231);
	--ae-acc-text: #1f1f1f;
	--ae-acc-muted: var(--global-palette4, #616161);
	--ae-acc-border: var(--global-palette7, #e5e5e5);
	--ae-acc-bg: var(--global-palette8, #f2f2f2);
	--ae-acc-radius: 16px;
	--ae-acc-radius-sm: 10px;
}

/* ---------- Layout: menu lateral + conteúdo ---------- */
body.woocommerce-account .entry-content > .woocommerce {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
	margin: 8px 0 40px;
}
body.woocommerce-account .entry-content > .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-account .entry-content > .woocommerce > #customer_login,
body.woocommerce-account .entry-content > .woocommerce > form,
body.woocommerce-account .entry-content > .woocommerce > .woocommerce-message,
body.woocommerce-account .entry-content > .woocommerce > .woocommerce-info,
body.woocommerce-account .entry-content > .woocommerce > .woocommerce-error {
	grid-column: 1 / -1;
}
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
	width: auto;
	float: none;
	max-width: none;
}

/* ---------- Menu ---------- */
body.woocommerce-account .woocommerce-MyAccount-navigation {
	position: sticky;
	top: 24px;
	background: #fff;
	border: 1px solid var(--ae-acc-border);
	border-radius: var(--ae-acc-radius);
	padding: 10px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
	padding: 0;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li::marker {
	content: none;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: var(--ae-acc-radius-sm);
	color: var(--ae-acc-text);
	font-weight: 500;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a::before {
	content: "";
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: var(--ae-acc-icon) center / contain no-repeat;
	mask: var(--ae-acc-icon) center / contain no-repeat;
	opacity: .85;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation li a:focus-visible {
	background: var(--ae-acc-primary-soft);
	color: var(--ae-acc-primary);
}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--ae-acc-primary);
	color: #fff;
}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 6px !important;
	padding-top: 6px !important;
	border-top: 1px solid var(--ae-acc-border);
}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--ae-acc-muted);
}

/* Ícones (Feather, MIT) */
body.woocommerce-account .woocommerce-MyAccount-navigation-link { --ae-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E"); }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--dashboard { --ae-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E"); }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--orders { --ae-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E"); }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--downloads { --ae-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E"); }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-address { --ae-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--edit-account { --ae-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout { --ae-acc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E"); }

/* ---------- Conteúdo ---------- */
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account #customer_login > .u-column1,
body.woocommerce-account #customer_login > .u-column2,
body.woocommerce-account .entry-content > .woocommerce > form.lost_reset_password,
body.woocommerce-account .entry-content > .woocommerce > form.woocommerce-ResetPassword {
	background: #fff;
	border: 1px solid var(--ae-acc-border);
	border-radius: var(--ae-acc-radius);
	padding: 32px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
	color: var(--ae-acc-muted);
	line-height: 1.6;
}
body.woocommerce-account .woocommerce-MyAccount-content > :first-child,
body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-notices-wrapper:empty + * {
	margin-top: 0;
}
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account #customer_login h2 {
	color: var(--ae-acc-text);
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 16px;
}
body.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
	color: var(--ae-acc-primary);
	font-weight: 500;
}

/* Painel: saudação em destaque */
body.woocommerce-account.woocommerce-dashboard .woocommerce-MyAccount-content > p:first-of-type {
	font-size: 18px;
	color: var(--ae-acc-text);
	padding-bottom: 16px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--ae-acc-border);
}
body.woocommerce-account.woocommerce-dashboard .woocommerce-MyAccount-content > p:first-of-type a {
	font-size: 14px;
}

/* ---------- Avisos ---------- */
body.woocommerce-account .woocommerce .woocommerce-info,
body.woocommerce-account .woocommerce .woocommerce-message,
body.woocommerce-account .woocommerce .woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 20px;
	padding: 14px 18px;
	list-style: none;
	border: 1px solid var(--ae-acc-border);
	border-left: 4px solid var(--ae-acc-primary);
	border-radius: var(--ae-acc-radius-sm);
	background: var(--ae-acc-bg);
	color: var(--ae-acc-text);
}
body.woocommerce-account .woocommerce .woocommerce-message { border-left-color: #2e7d32; }
body.woocommerce-account .woocommerce .woocommerce-error { border-left-color: #c62828; flex-direction: column; align-items: flex-start; }
body.woocommerce-account .woocommerce .woocommerce-info::before,
body.woocommerce-account .woocommerce .woocommerce-message::before,
body.woocommerce-account .woocommerce .woocommerce-error::before {
	display: none;
}

/* ---------- Botões ---------- */
body.woocommerce-account .woocommerce .button,
body.woocommerce-account .woocommerce button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50px;
	background: var(--ae-acc-primary);
	color: #fff;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: filter .15s ease;
}
body.woocommerce-account .woocommerce .button:hover,
body.woocommerce-account .woocommerce button[type="submit"]:hover {
	filter: brightness(1.12);
	color: #fff;
}

/* ---------- Tabelas (pedidos e detalhes do pedido) ---------- */
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
	width: 100%;
	margin: 0 0 24px;
	border: 1px solid var(--ae-acc-border);
	border-radius: var(--ae-acc-radius-sm);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid var(--ae-acc-border);
	text-align: left;
	vertical-align: middle;
	background: transparent;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th {
	background: var(--ae-acc-bg);
	color: var(--ae-acc-text);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table > tbody:last-child > tr:last-child > *,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot tr:last-child > * {
	border-bottom: 0;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot th {
	color: var(--ae-acc-text);
	font-weight: 500;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table tfoot tr:last-child > * {
	background: var(--ae-acc-bg);
	color: var(--ae-acc-text);
	font-weight: 700;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-number a {
	font-weight: 700;
}
body.woocommerce-account .woocommerce-orders-table__cell-order-actions {
	text-align: right !important;
	white-space: nowrap;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table .button {
	margin: 2px 0 2px 6px;
	padding: 8px 18px;
	font-size: 12px;
}

/* Status do pedido como etiqueta */
body.woocommerce-account .woocommerce-orders-table__cell-order-status {
	white-space: nowrap;
}
body.woocommerce-account .woocommerce-orders-table__row > .woocommerce-orders-table__cell-order-status {
	--ae-acc-status: var(--ae-acc-muted);
	--ae-acc-status-bg: var(--ae-acc-bg);
}
body.woocommerce-account .woocommerce-orders-table__row--status-processing > .woocommerce-orders-table__cell-order-status { --ae-acc-status: #1565c0; --ae-acc-status-bg: #e8f1fc; }
body.woocommerce-account .woocommerce-orders-table__row--status-completed > .woocommerce-orders-table__cell-order-status,
body.woocommerce-account .woocommerce-orders-table__row--status-shipped-order > .woocommerce-orders-table__cell-order-status { --ae-acc-status: #2e7d32; --ae-acc-status-bg: #e9f6ea; }
body.woocommerce-account .woocommerce-orders-table__row--status-on-hold > .woocommerce-orders-table__cell-order-status,
body.woocommerce-account .woocommerce-orders-table__row--status-pending > .woocommerce-orders-table__cell-order-status { --ae-acc-status: #8a5a00; --ae-acc-status-bg: #fff4d6; }
body.woocommerce-account .woocommerce-orders-table__row--status-cancelled > .woocommerce-orders-table__cell-order-status,
body.woocommerce-account .woocommerce-orders-table__row--status-failed > .woocommerce-orders-table__cell-order-status,
body.woocommerce-account .woocommerce-orders-table__row--status-refunded > .woocommerce-orders-table__cell-order-status { --ae-acc-status: #b3261e; --ae-acc-status-bg: #fdecea; }
body.woocommerce-account .woocommerce-orders-table__row > .woocommerce-orders-table__cell-order-status {
	color: var(--ae-acc-status);
	font-weight: 600;
}
body.woocommerce-account .woocommerce-orders-table__row > .woocommerce-orders-table__cell-order-status::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--ae-acc-status);
	box-shadow: 0 0 0 4px var(--ae-acc-status-bg);
	vertical-align: middle;
}

/* Paginação */
body.woocommerce-account .woocommerce-pagination {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}
body.woocommerce-account .woocommerce-pagination .button {
	padding: 10px 24px;
}
body.woocommerce-account .woocommerce-pagination .woocommerce-button--next {
	margin-left: auto;
}

/* Detalhes do pedido */
body.woocommerce-account .woocommerce-MyAccount-content > p:has(> mark.order-number) {
	padding: 14px 18px;
	border-radius: var(--ae-acc-radius-sm);
	background: var(--ae-acc-bg);
	color: var(--ae-acc-text);
}
body.woocommerce-account .woocommerce-MyAccount-content mark {
	background: transparent;
	color: var(--ae-acc-text);
	font-weight: 700;
}
body.woocommerce-account .woocommerce-OrderUpdates {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}
body.woocommerce-account .woocommerce-OrderUpdate {
	padding: 12px 16px;
	margin-bottom: 8px;
	border-left: 3px solid var(--ae-acc-primary);
	background: var(--ae-acc-bg);
	border-radius: 0 var(--ae-acc-radius-sm) var(--ae-acc-radius-sm) 0;
}
body.woocommerce-account .woocommerce-customer-details address {
	border: 1px solid var(--ae-acc-border);
	border-radius: var(--ae-acc-radius-sm);
	padding: 16px 18px;
	font-style: normal;
}

/* ---------- Colunas (endereços, login/cadastro, endereços do pedido) ---------- */
/* O Bootstrap carregado pelo Back In Stock Notifier dá width:8% a .col-1/.col-2 */
body.woocommerce-account .woocommerce .col2-set,
body.woocommerce-account .woocommerce .woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	margin: 0;
}
body.woocommerce-account .woocommerce .col2-set::before,
body.woocommerce-account .woocommerce .col2-set::after {
	display: none;
}
body.woocommerce-account .woocommerce .col2-set > .col-1,
body.woocommerce-account .woocommerce .col2-set > .col-2 {
	flex: none;
	width: auto;
	max-width: none;
	float: none;
	padding-left: 0;
	padding-right: 0;
}
body.woocommerce-account #customer_login > .u-column1,
body.woocommerce-account #customer_login > .u-column2 {
	padding: 32px;
}

/* Cards de endereço */
body.woocommerce-account .woocommerce .woocommerce-Addresses > .woocommerce-Address {
	padding: 20px;
	border: 1px solid var(--ae-acc-border);
	border-radius: var(--ae-acc-radius-sm);
	padding: 20px;
}
body.woocommerce-account .woocommerce-Address-title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}
body.woocommerce-account .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-Address-title h3 {
	margin: 0;
	font-size: 16px;
}
body.woocommerce-account .woocommerce-Address-title .edit {
	padding: 6px 14px;
	border: 1px solid var(--ae-acc-primary);
	border-radius: 50px;
	font-size: 12px;
	text-decoration: none;
	white-space: nowrap;
}
body.woocommerce-account .woocommerce-Address-title .edit:hover {
	background: var(--ae-acc-primary);
	color: #fff !important;
}
body.woocommerce-account .woocommerce-Address address {
	margin: 0;
	font-style: normal;
	line-height: 1.7;
}

/* ---------- Formulários ---------- */
body.woocommerce-account .woocommerce-address-fields__field-wrapper,
body.woocommerce-account form.woocommerce-EditAccountForm {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 20px;
}
body.woocommerce-account .woocommerce-address-fields__field-wrapper > *,
body.woocommerce-account form.woocommerce-EditAccountForm > * {
	grid-column: 1 / -1;
}
body.woocommerce-account .woocommerce-address-fields__field-wrapper > .form-row-first,
body.woocommerce-account .woocommerce-address-fields__field-wrapper > .form-row-last,
body.woocommerce-account form.woocommerce-EditAccountForm > .form-row-first,
body.woocommerce-account form.woocommerce-EditAccountForm > .form-row-last {
	grid-column: auto;
}
body.woocommerce-account form.woocommerce-EditAccountForm > .clear {
	display: none;
}
body.woocommerce-account .woocommerce form .form-row {
	width: auto;
	float: none;
	margin: 0 0 16px;
	padding: 0;
}
body.woocommerce-account .woocommerce form .form-row label,
body.woocommerce-account .woocommerce form .woocommerce-form-row label {
	display: block;
	margin-bottom: 6px;
	color: var(--ae-acc-text);
	font-weight: 500;
}
body.woocommerce-account .woocommerce form .form-row label.woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 400;
}
body.woocommerce-account .woocommerce form .required {
	color: var(--ae-acc-primary);
	text-decoration: none;
	border: 0;
}
body.woocommerce-account .woocommerce form input.input-text,
body.woocommerce-account .woocommerce form select,
body.woocommerce-account .woocommerce form textarea,
body.woocommerce-account .woocommerce form .select2-container .select2-selection--single {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--ae-acc-border);
	border-radius: var(--ae-acc-radius-sm);
	background: #fff;
	color: var(--ae-acc-text);
	box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
body.woocommerce-account .woocommerce form .select2-container .select2-selection--single {
	display: flex;
	align-items: center;
	padding: 0 14px;
}
body.woocommerce-account .woocommerce form .select2-container .select2-selection__rendered {
	padding: 0;
	line-height: 1.4;
}
body.woocommerce-account .woocommerce form .select2-container .select2-selection__arrow {
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
}
body.woocommerce-account .woocommerce form input.input-text:focus,
body.woocommerce-account .woocommerce form select:focus,
body.woocommerce-account .woocommerce form textarea:focus,
body.woocommerce-account .woocommerce form .select2-container--focus .select2-selection--single,
body.woocommerce-account .woocommerce form .select2-container--open .select2-selection--single {
	outline: 0;
	border-color: var(--ae-acc-primary);
	box-shadow: 0 0 0 3px rgba(145, 14, 67, .12);
}
body.woocommerce-account .woocommerce form .woocommerce-invalid input.input-text {
	border-color: #c62828;
}
body.woocommerce-account .woocommerce form .form-row .error {
	display: none;
}
body.woocommerce-account .woocommerce form .woocommerce-invalid .error {
	display: block;
	margin-top: 4px;
	color: #c62828;
	font-size: 12px;
}
body.woocommerce-account #account_display_name_description {
	display: block;
	margin-top: 6px;
	color: var(--ae-acc-muted);
	font-size: 12px;
}
body.woocommerce-account form.woocommerce-EditAccountForm fieldset {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin: 8px 0 20px;
	padding: 20px 20px 4px;
	border: 1px solid var(--ae-acc-border);
	border-radius: var(--ae-acc-radius-sm);
}
body.woocommerce-account form.woocommerce-EditAccountForm legend {
	padding: 0 8px;
	color: var(--ae-acc-text);
	font-weight: 600;
}
body.woocommerce-account .woocommerce form button[type="submit"],
body.woocommerce-account .woocommerce form .button[type="submit"] {
	padding: 14px 32px;
}

/* Login e cadastro (o card é a coluna; o tema também desenha borda no form) */
body.woocommerce-account .woocommerce form.woocommerce-form-login,
body.woocommerce-account .woocommerce form.woocommerce-form-register {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
body.woocommerce-account .woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme {
	margin-right: auto !important;
}
body.woocommerce-account .woocommerce-form-login .woocommerce-form-login__submit {
	float: none;
	margin: 0;
}
body.woocommerce-account .woocommerce-LostPassword {
	margin: 0;
}
body.woocommerce-account .woocommerce-LostPassword a {
	color: var(--ae-acc-primary);
	font-weight: 500;
}
body.woocommerce-account .woocommerce-privacy-policy-text {
	font-size: 12px;
}

/* ---------- Celular e tablet ---------- */
@media (max-width: 1024px) {
	body.woocommerce-account .entry-content > .woocommerce {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation {
		position: static;
		padding: 6px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation::-webkit-scrollbar {
		display: none;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: flex;
		gap: 4px;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation li a {
		padding: 10px 14px;
		white-space: nowrap;
	}
	body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
		margin: 0 0 0 4px !important;
		padding: 0 0 0 4px !important;
		border-top: 0;
		border-left: 1px solid var(--ae-acc-border);
	}
}
@media (max-width: 767px) {
	body.woocommerce-account .woocommerce-MyAccount-content,
	body.woocommerce-account #customer_login > .u-column1,
	body.woocommerce-account #customer_login > .u-column2,
	body.woocommerce-account .entry-content > .woocommerce > form.lost_reset_password,
	body.woocommerce-account .entry-content > .woocommerce > form.woocommerce-ResetPassword {
		padding: 20px 16px;
	}
	body.woocommerce-account .woocommerce .col2-set,
	body.woocommerce-account .woocommerce .woocommerce-columns--addresses,
	body.woocommerce-account .woocommerce-address-fields__field-wrapper,
	body.woocommerce-account form.woocommerce-EditAccountForm {
		grid-template-columns: minmax(0, 1fr);
	}
	body.woocommerce-account .woocommerce-address-fields__field-wrapper > .form-row-first,
	body.woocommerce-account .woocommerce-address-fields__field-wrapper > .form-row-last,
	body.woocommerce-account form.woocommerce-EditAccountForm > .form-row-first,
	body.woocommerce-account form.woocommerce-EditAccountForm > .form-row-last {
		grid-column: 1 / -1;
	}

	/* Tabela de pedidos vira lista de cartões */
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive {
		border: 0;
		border-radius: 0;
		overflow: visible;
	}
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive thead {
		display: none;
	}
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody tr {
		display: block;
		margin-bottom: 12px;
		border: 1px solid var(--ae-acc-border);
		border-radius: var(--ae-acc-radius-sm);
		overflow: hidden;
	}
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody th,
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		padding: 10px 14px;
		text-align: right !important;
	}
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody tr > :last-child {
		border-bottom: 0;
	}
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody [data-title]::before {
		content: attr(data-title);
		margin-right: auto;
		color: var(--ae-acc-text);
		font-size: 12px;
		font-weight: 600;
		text-transform: uppercase;
	}
	/* status: o ::before é a bolinha colorida, não o rótulo */
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-status {
		justify-content: flex-end;
		gap: 0;
	}
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody td.woocommerce-orders-table__cell-order-status[data-title]::before {
		content: "";
		margin-right: 10px;
		font-size: 0;
	}
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tbody tr > th.woocommerce-orders-table__cell-order-number {
		background: var(--ae-acc-bg) !important;
	}
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive .woocommerce-orders-table__cell-order-actions {
		flex-wrap: wrap;
		justify-content: flex-end;
	}
	body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive .woocommerce-orders-table__cell-order-actions::before {
		display: none;
	}
}
