/**
 * My Account — La Verrerie de Biot
 * Styles custom pour /mon-compte/ et tous ses endpoints (login, dashboard, orders, edit-account, edit-address…).
 * Scope : body.woocommerce-account
 *
 * Cohérent avec cart-checkout.css (même design system VDB).
 */

/* =========================================================================
   §1 — Tokens (scope local : ne fuit pas sur le reste du site)
   ========================================================================= */
body.woocommerce-account {
	--vdb-bordeaux:        #8B1A2B;
	--vdb-bordeaux-dark:   #6B1F2C;
	--vdb-bordeaux-light:  #8a3d4c;
	--vdb-beige:           #FAF6F1;
	--vdb-beige-2:         #F8F3EC;
	--vdb-border:          #E5E0DA;
	--vdb-border-strong:   #C9C2B8;
	--vdb-text:            #1a1a1a;
	--vdb-text-muted:      #6a6a6a;
	--vdb-font-serif:      'Baskervville', Georgia, serif;
	--vdb-font-ui:         'Montserrat', sans-serif;
}

/* =========================================================================
   §2 — Neutralisation Divi & page wrappers
   ========================================================================= */
body.woocommerce-account,
body.woocommerce-account #page-container,
body.woocommerce-account #main-content,
body.woocommerce-account #et-main-area {
	background-color: #FEFDFD !important;
}

body.woocommerce-account {
	overflow-x: hidden !important;
	overflow-y: visible !important;
}

body.woocommerce-account #page-container,
body.woocommerce-account #et-main-area,
body.woocommerce-account #main-content {
	overflow: visible !important;
}

body.woocommerce-account.et_right_sidebar #main-content .container:before,
body.woocommerce-account.et_left_sidebar #main-content .container:before,
body.woocommerce-account #main-content .container:before,
body.woocommerce-account #main-content .container:after {
	display: none !important;
	content: none !important;
	background: none !important;
	border: none !important;
	width: 0 !important;
	right: auto !important;
	left: auto !important;
}

body.woocommerce-account .entry-title,
body.woocommerce-account article .post-meta,
body.woocommerce-account .et_pb_title_container {
	display: none !important;
}

body.woocommerce-account #left-area {
	width: 100% !important;
	float: none !important;
	padding: 0;
	background: transparent;
}

body.woocommerce-account #sidebar {
	display: none !important;
}

body.woocommerce-account #main-content .container {
	max-width: 1280px;
	padding: 60px 24px 100px;
	background-color: #FEFDFD;
}

body.woocommerce-account article.post,
body.woocommerce-account #content-area {
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
}

/* =========================================================================
   §3 — Titres communs & typo générale
   ========================================================================= */
body.woocommerce-account .woocommerce {
	color: var(--vdb-text);
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	line-height: 1.5;
}

body.woocommerce-account .woocommerce p {
	font-family: var(--vdb-font-ui);
	color: var(--vdb-text);
}

/* Titre de page rendu par Divi (h1 ou h2 selon Divi templates).
   On le restyle pour matcher .vdb-page-title du cart/checkout. */
body.woocommerce-account #left-area > article h1.entry-title,
body.woocommerce-account .et_pb_post_title h1,
body.woocommerce-account .vdb-account-title {
	display: block !important;
	font-family: var(--vdb-font-serif);
	font-weight: 400;
	font-size: 44px;
	line-height: 1.1;
	margin: 0 0 32px;
	color: var(--vdb-text);
}

/* Titres h2 des sections (Se connecter, S'inscrire, Adresses, Détails du compte…) */
body.woocommerce-account .woocommerce h2 {
	font-family: var(--vdb-font-serif);
	font-weight: 400;
	font-size: 22px;
	line-height: 1.2;
	letter-spacing: 0.01em;
	margin: 0 0 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--vdb-border);
	color: var(--vdb-text);
}

body.woocommerce-account .woocommerce h3 {
	font-family: var(--vdb-font-serif);
	font-weight: 400;
	font-size: 18px;
	line-height: 1.2;
	margin: 0 0 16px;
	color: var(--vdb-text);
}

/* Neutralisation globale des chevrons Divi (font ETmodules, content "5")
   ajoutés en ::before/::after sur tous les boutons WC dans l'espace compte */
body.woocommerce-account .woocommerce-MyAccount-content .button::before,
body.woocommerce-account .woocommerce-MyAccount-content .button::after,
body.woocommerce-account .woocommerce-MyAccount-content button.button::before,
body.woocommerce-account .woocommerce-MyAccount-content button.button::after,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Button::after,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button::before,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button::after,
body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]::before,
body.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]::after,
body.woocommerce-account #customer_login .button::before,
body.woocommerce-account #customer_login .button::after,
body.woocommerce-account #customer_login button.button::before,
body.woocommerce-account #customer_login button.button::after,
body.woocommerce-account .woocommerce-ResetPassword .button::before,
body.woocommerce-account .woocommerce-ResetPassword .button::after,
body.woocommerce-account .woocommerce-ResetPassword button.button::before,
body.woocommerce-account .woocommerce-ResetPassword button.button::after {
	content: none !important;
	display: none !important;
}

/* =========================================================================
   §4 — Login + Register (utilisateur non connecté)
   ========================================================================= */
body.woocommerce-account #customer_login {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	margin: 0;
}

/* Neutralise les pseudo-éléments .clearfix WC/Divi qui prennent des cellules du grid */
body.woocommerce-account #customer_login::before,
body.woocommerce-account #customer_login::after,
body.woocommerce-account .u-columns::before,
body.woocommerce-account .u-columns::after,
body.woocommerce-account .col2-set::before,
body.woocommerce-account .col2-set::after,
body.woocommerce-account .woocommerce-Addresses::before,
body.woocommerce-account .woocommerce-Addresses::after,
body.woocommerce-account .woocommerce-columns--addresses::before,
body.woocommerce-account .woocommerce-columns--addresses::after {
	content: none !important;
	display: none !important;
}

body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2 {
	background: #fff;
	border: 1px solid var(--vdb-border);
	padding: 32px;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

body.woocommerce-account #customer_login h2 {
	margin-top: 0;
}

/* Formulaires (login + register + lost-password + reset + edit-account) */
body.woocommerce-account .woocommerce-form,
body.woocommerce-account .woocommerce form.woocommerce-EditAccountForm,
body.woocommerce-account .woocommerce form.woocommerce-ResetPassword,
body.woocommerce-account .woocommerce form.woocommerce-form-login,
body.woocommerce-account .woocommerce form.woocommerce-form-register {
	margin: 0;
}

body.woocommerce-account .woocommerce-form-row,
body.woocommerce-account .woocommerce form .form-row {
	margin: 0 0 18px;
	padding: 0;
}

body.woocommerce-account .woocommerce-form-row label,
body.woocommerce-account .woocommerce form .form-row label {
	display: block;
	font-family: var(--vdb-font-ui);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--vdb-text-muted);
	margin: 0 0 8px;
	padding: 0;
}

body.woocommerce-account .woocommerce .required {
	color: var(--vdb-bordeaux);
	text-decoration: none;
	font-weight: 500;
}

/* Inputs — text, email, password, tel, number, url, search */
body.woocommerce-account .woocommerce-Input,
body.woocommerce-account .woocommerce input[type="text"],
body.woocommerce-account .woocommerce input[type="email"],
body.woocommerce-account .woocommerce input[type="password"],
body.woocommerce-account .woocommerce input[type="tel"],
body.woocommerce-account .woocommerce input[type="number"],
body.woocommerce-account .woocommerce input[type="url"],
body.woocommerce-account .woocommerce input[type="search"] {
	width: 100%;
	height: 44px;
	padding: 10px 14px;
	border: none;
	border-radius: 0;
	background: rgba(12, 12, 12, 0.05);
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	line-height: 1.4;
	color: var(--vdb-text);
	box-shadow: none;
	transition: background 0.15s ease, outline 0.15s ease;
}

body.woocommerce-account .woocommerce input[type="text"]:focus,
body.woocommerce-account .woocommerce input[type="email"]:focus,
body.woocommerce-account .woocommerce input[type="password"]:focus,
body.woocommerce-account .woocommerce input[type="tel"]:focus,
body.woocommerce-account .woocommerce input[type="number"]:focus,
body.woocommerce-account .woocommerce input[type="url"]:focus,
body.woocommerce-account .woocommerce input[type="search"]:focus {
	background: rgba(12, 12, 12, 0.09);
	outline: 2px solid var(--vdb-bordeaux-light);
	outline-offset: -2px;
}

body.woocommerce-account .woocommerce textarea {
	width: 100%;
	min-height: 88px;
	padding: 12px 14px;
	border: none;
	border-radius: 0;
	background: rgba(12, 12, 12, 0.05);
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	line-height: 1.4;
	color: var(--vdb-text);
}

body.woocommerce-account .woocommerce textarea:focus {
	background: rgba(12, 12, 12, 0.09);
	outline: 2px solid var(--vdb-bordeaux-light);
	outline-offset: -2px;
}

/* Select natif (avant remplacement select2) */
body.woocommerce-account .woocommerce select {
	width: 100%;
	height: 44px;
	padding: 10px 14px;
	border: none;
	border-radius: 0;
	background: rgba(12, 12, 12, 0.05);
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	color: var(--vdb-text);
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path fill='%236a6a6a' d='M6 8L1 3h10z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 10px;
	padding-right: 36px;
}

/* Select2 (utilisé pour les pays dans edit-address) — mirror checkout */
body.woocommerce-account .select2-container--default .select2-selection--single {
	height: 44px;
	padding: 0 14px;
	border: none;
	border-radius: 0;
	background: rgba(12, 12, 12, 0.05);
	font-family: var(--vdb-font-ui);
	font-size: 14px;
}

body.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 44px;
	padding: 0;
	color: var(--vdb-text);
}

body.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 44px;
	width: 36px;
	right: 0;
}

body.woocommerce-account .select2-container--default.select2-container--focus .select2-selection--single,
body.woocommerce-account .select2-container--default.select2-container--open .select2-selection--single {
	background: rgba(12, 12, 12, 0.09);
	outline: 2px solid var(--vdb-bordeaux-light);
	outline-offset: -2px;
}

/* Eye toggle pour mots de passe (WC l'injecte dans .password-input) */
body.woocommerce-account .woocommerce .password-input {
	display: block;
	position: relative;
	width: 100%;
}

body.woocommerce-account .woocommerce .show-password-input {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--vdb-text-muted);
	cursor: pointer;
}

body.woocommerce-account .woocommerce .show-password-input.display-password {
	color: var(--vdb-bordeaux);
}

/* Checkbox "Se souvenir de moi" */
body.woocommerce-account .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	margin: 18px 0;
	font-family: var(--vdb-font-ui);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--vdb-text);
}

body.woocommerce-account .woocommerce-form__input-checkbox {
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--vdb-bordeaux);
	cursor: pointer;
}

/* Bouton principal (Se connecter, S'inscrire, Save changes, Save address, Réinitialiser…) */
body.woocommerce-account .woocommerce-button,
body.woocommerce-account .woocommerce button.button,
body.woocommerce-account .woocommerce input[type="submit"] {
	display: inline-block;
	width: auto;
	min-width: 180px;
	padding: 16px 24px;
	border: none;
	border-radius: 0;
	background: var(--vdb-bordeaux-light);
	color: #fff;
	font-family: var(--vdb-font-ui);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1;
	text-align: center;
	cursor: pointer;
	transition: background 0.2s ease;
	box-shadow: none;
	text-decoration: none;
}

body.woocommerce-account .woocommerce-button:hover,
body.woocommerce-account .woocommerce button.button:hover,
body.woocommerce-account .woocommerce input[type="submit"]:hover {
	background: var(--vdb-bordeaux);
	color: #fff;
}

body.woocommerce-account .woocommerce-button:focus,
body.woocommerce-account .woocommerce button.button:focus,
body.woocommerce-account .woocommerce input[type="submit"]:focus {
	outline: 2px solid var(--vdb-bordeaux);
	outline-offset: 2px;
}

/* Bouton plein width dans login/register (les cards sont étroites) */
body.woocommerce-account #customer_login .woocommerce-button,
body.woocommerce-account #customer_login button.button,
body.woocommerce-account .woocommerce-LostPassword .woocommerce-button,
body.woocommerce-account .woocommerce-ResetPassword .woocommerce-button {
	width: 100%;
	min-width: 0;
}

/* Lien "Mot de passe perdu ?" */
body.woocommerce-account .woocommerce-LostPassword,
body.woocommerce-account p.lost_password {
	margin: 20px 0 0;
	padding: 0;
}

body.woocommerce-account .woocommerce-LostPassword a,
body.woocommerce-account p.lost_password a {
	font-family: var(--vdb-font-ui);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--vdb-text-muted);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

body.woocommerce-account .woocommerce-LostPassword a:hover,
body.woocommerce-account p.lost_password a:hover {
	color: var(--vdb-bordeaux);
	border-bottom-color: var(--vdb-bordeaux);
}

/* Espacement entre le dernier champ et le bouton submit dans login/register */
body.woocommerce-account .woocommerce-form-login__submit,
body.woocommerce-account .woocommerce-form-register__submit {
	margin: 8px 0 0;
}

/* Texte d'info sous register (politique de confidentialité, etc.) */
body.woocommerce-account form.woocommerce-form-register .woocommerce-privacy-policy-text {
	margin: 0 0 16px;
	font-family: var(--vdb-font-ui);
	font-size: 12px;
	line-height: 1.5;
	color: var(--vdb-text-muted);
}

body.woocommerce-account form.woocommerce-form-register .woocommerce-privacy-policy-text a {
	color: var(--vdb-bordeaux);
	text-decoration: underline;
}

/* =========================================================================
   §5 — Lost password + Reset password + confirmation
   ========================================================================= */
body.woocommerce-account.woocommerce-lost-password .woocommerce > p:first-of-type,
body.woocommerce-account.woocommerce-account .woocommerce-ResetPassword + p,
body.woocommerce-account .woocommerce-ResetPassword > p {
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	line-height: 1.6;
	color: var(--vdb-text);
	margin: 0 0 16px;
}

body.woocommerce-account .woocommerce form.woocommerce-ResetPassword,
body.woocommerce-account .woocommerce form.lost_reset_password,
body.woocommerce-account form.woocommerce-ResetPassword,
body.woocommerce-account form.lost_reset_password {
	max-width: 480px;
	margin: 0 auto !important;
	background: #fff;
	border: 1px solid var(--vdb-border);
	padding: 32px;
}

body.woocommerce-account form.woocommerce-ResetPassword h2,
body.woocommerce-account form.lost_reset_password h2 {
	margin-top: 0;
}

/* Texte d'intro sur la page lost-password */
body.woocommerce-account.woocommerce-lost-password #left-area > article > p,
body.woocommerce-account.woocommerce-lost-password .woocommerce > p {
	max-width: 480px;
	margin: 0 auto 24px;
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	line-height: 1.6;
	color: var(--vdb-text-muted);
	text-align: left;
}

/* =========================================================================
   §6 — Layout connecté : sidebar nav + content
   ========================================================================= */
body.woocommerce-account.logged-in .woocommerce {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 48px;
	align-items: start;
}

/* Neutralise les pseudo-éléments clearfix WC qui pollueraient le grid */
body.woocommerce-account.logged-in .woocommerce::before,
body.woocommerce-account.logged-in .woocommerce::after,
body.woocommerce-account .entry-content::before,
body.woocommerce-account .entry-content::after {
	content: none !important;
	display: none !important;
}

/* Sidebar navigation
   Note : WooCommerce woocommerce-layout.css impose float:left + width:30% sur
   .woocommerce-MyAccount-navigation et float:right + width:68% sur le content.
   On neutralise pour laisser le grid contrôler la largeur. */
body.woocommerce-account .woocommerce-MyAccount-navigation {
	background: var(--vdb-beige);
	padding: 28px 24px;
	align-self: start;
	float: none !important;
	width: auto !important;
}

body.woocommerce-account .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	list-style-type: none !important;
	background: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li::before,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li::marker {
	content: none !important;
	display: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 11px 14px;
	font-family: var(--vdb-font-ui);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--vdb-text);
	text-decoration: none;
	white-space: nowrap;
	position: relative;
	transition: background 0.15s ease, color 0.15s ease;
	border: none;
	box-shadow: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	background: rgba(139, 26, 43, 0.05);
	color: var(--vdb-bordeaux);
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a[aria-current="page"] {
	color: var(--vdb-bordeaux);
	font-weight: 600;
	background: rgba(139, 26, 43, 0.05);
	box-shadow: inset 3px 0 0 var(--vdb-bordeaux-light);
	text-decoration: none;
}

/* Séparateur avant "Se déconnecter" */
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout {
	border-top: 1px solid var(--vdb-border);
	margin-top: 8px !important;
	padding-top: 8px !important;
}

/* Content principal */
body.woocommerce-account .woocommerce-MyAccount-content {
	background: #fff;
	min-width: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content > *:first-child {
	margin-top: 0;
}

/* =========================================================================
   §7 — Dashboard
   ========================================================================= */
body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
	font-family: var(--vdb-font-serif);
	font-size: 22px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--vdb-text);
	margin: 0 0 16px;
}

body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type + p {
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	line-height: 1.6;
	color: var(--vdb-text);
	margin: 0 0 24px;
}

body.woocommerce-account .woocommerce-MyAccount-content p a {
	color: var(--vdb-bordeaux);
	text-decoration: none;
	border-bottom: 1px solid var(--vdb-bordeaux);
	transition: color 0.15s ease, border-color 0.15s ease;
}

body.woocommerce-account .woocommerce-MyAccount-content p a:hover {
	color: var(--vdb-bordeaux-dark);
	border-bottom-color: var(--vdb-bordeaux-dark);
}

/* =========================================================================
   §8 — Liste des commandes (orders)
   ========================================================================= */
body.woocommerce-account .woocommerce-orders-table,
body.woocommerce-account .account-orders-table,
body.woocommerce-account table.shop_table_responsive {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: none;
	margin: 0;
	background: transparent;
}

body.woocommerce-account .woocommerce-orders-table thead,
body.woocommerce-account .account-orders-table thead {
	background: transparent;
}

body.woocommerce-account .woocommerce-orders-table thead th,
body.woocommerce-account .account-orders-table thead th {
	font-family: var(--vdb-font-ui);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--vdb-text-muted);
	padding: 14px 16px;
	border-bottom: 1px solid var(--vdb-border);
	border-top: 1px solid var(--vdb-border);
	background: transparent;
	text-align: left;
}

body.woocommerce-account .woocommerce-orders-table tbody td,
body.woocommerce-account .account-orders-table tbody td {
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	font-weight: 500;
	color: var(--vdb-text);
	padding: 18px 16px;
	border-bottom: 1px solid var(--vdb-border);
	background: transparent;
	vertical-align: middle;
}

body.woocommerce-account .woocommerce-orders-table tbody tr:last-child td,
body.woocommerce-account .account-orders-table tbody tr:last-child td {
	border-bottom: 1px solid var(--vdb-border);
}

/* Numéro de commande — lien */
body.woocommerce-account .woocommerce-orders-table__cell-order-number a,
body.woocommerce-account .account-orders-table .woocommerce-orders-table__cell-order-number a {
	color: var(--vdb-text);
	text-decoration: none;
	border-bottom: 1px solid var(--vdb-border-strong);
	transition: color 0.15s ease, border-color 0.15s ease;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-number a:hover {
	color: var(--vdb-bordeaux);
	border-bottom-color: var(--vdb-bordeaux);
}

/* Statut commande — badge */
body.woocommerce-account .woocommerce-orders-table__cell-order-status {
	font-family: var(--vdb-font-ui);
	white-space: nowrap;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-status mark,
body.woocommerce-account .woocommerce-orders-table__cell-order-status .status,
body.woocommerce-account .woocommerce-orders-table__cell-order-status::after {
	display: inline-block;
	padding: 5px 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: rgba(0, 0, 0, 0.06);
	color: var(--vdb-text-muted);
	border-radius: 0;
}

/* Si WC affiche le statut comme texte plein (pas dans un mark) — couleur du td selon classe */
body.woocommerce-account .woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status,
body.woocommerce-account .woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status {
	color: var(--vdb-bordeaux);
	font-weight: 600;
}

body.woocommerce-account .woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status {
	color: #1E6B1E;
	font-weight: 600;
}

body.woocommerce-account .woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status {
	color: #8B6914;
	font-weight: 600;
}

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 {
	color: var(--vdb-text-muted);
	font-weight: 600;
}

/* Actions de commande — boutons outline */
body.woocommerce-account .woocommerce-orders-table__cell-order-actions {
	text-align: right;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button {
	display: inline-block;
	width: auto;
	min-width: 0;
	margin: 0 0 0 8px;
	padding: 8px 14px;
	background: transparent;
	border: 1px solid var(--vdb-bordeaux-light);
	color: var(--vdb-bordeaux-light);
	font-family: var(--vdb-font-ui);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	border-radius: 0;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button::before,
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button::after,
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button::before,
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button::after {
	content: none !important;
	display: none !important;
}

body.woocommerce-account .woocommerce-orders-table__cell-order-actions .button:hover,
body.woocommerce-account .woocommerce-orders-table__cell-order-actions .woocommerce-button:hover {
	background: var(--vdb-bordeaux);
	border-color: var(--vdb-bordeaux);
	color: #fff;
}

/* Pagination */
body.woocommerce-account .woocommerce-pagination,
body.woocommerce-account .woocommerce-Pagination {
	margin: 32px 0 0;
	padding: 0;
	text-align: center;
}

body.woocommerce-account .woocommerce-pagination a,
body.woocommerce-account .woocommerce-Pagination a,
body.woocommerce-account .woocommerce-pagination .woocommerce-button {
	display: inline-block;
	margin: 0 4px;
	padding: 10px 18px;
	background: transparent;
	border: 1px solid var(--vdb-border);
	color: var(--vdb-text);
	font-family: var(--vdb-font-ui);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
	width: auto;
	min-width: 0;
}

body.woocommerce-account .woocommerce-pagination a:hover {
	background: var(--vdb-text);
	color: #fff;
	border-color: var(--vdb-text);
}

/* Message "Pas encore de commande" */
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info {
	margin-bottom: 24px;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Message--info {
	background: var(--vdb-beige);
	border: none;
	padding: 24px;
	color: var(--vdb-text);
	font-family: var(--vdb-font-ui);
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Message--info .button,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Message--info .woocommerce-button {
	margin-top: 12px;
}

/* =========================================================================
   §9 — Détail d'une commande (view-order)
   ========================================================================= */
body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > p:first-of-type {
	font-family: var(--vdb-font-serif);
	font-size: 22px;
	font-weight: 400;
	color: var(--vdb-text);
	margin: 0 0 32px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--vdb-border);
}

body.woocommerce-account .woocommerce-order-details,
body.woocommerce-account .woocommerce-customer-details {
	margin-bottom: 40px;
}

body.woocommerce-account .woocommerce-order-details h2,
body.woocommerce-account .woocommerce-customer-details h2 {
	font-size: 22px;
	margin-bottom: 20px;
}

/* Table récap de commande */
body.woocommerce-account table.woocommerce-table--order-details,
body.woocommerce-account table.woocommerce-table.shop_table.order_details {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: none;
	background: transparent;
	margin: 0;
}

body.woocommerce-account table.woocommerce-table--order-details thead th,
body.woocommerce-account table.shop_table.order_details thead th {
	font-family: var(--vdb-font-ui);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--vdb-text-muted);
	padding: 14px 16px;
	border-bottom: 1px solid var(--vdb-border);
	border-top: 1px solid var(--vdb-border);
	background: transparent;
	text-align: left;
}

body.woocommerce-account table.woocommerce-table--order-details tbody td,
body.woocommerce-account table.shop_table.order_details tbody td {
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	font-weight: 500;
	color: var(--vdb-text);
	padding: 18px 16px;
	border-bottom: 1px solid var(--vdb-border);
	background: transparent;
	vertical-align: middle;
}

body.woocommerce-account table.woocommerce-table--order-details tbody td a,
body.woocommerce-account table.shop_table.order_details tbody td a {
	color: var(--vdb-text);
	text-decoration: none;
	border-bottom: 1px solid var(--vdb-border-strong);
	transition: color 0.15s ease, border-color 0.15s ease;
}

body.woocommerce-account table.woocommerce-table--order-details tbody td a:hover {
	color: var(--vdb-bordeaux);
	border-bottom-color: var(--vdb-bordeaux);
}

body.woocommerce-account table.woocommerce-table--order-details tfoot th,
body.woocommerce-account table.shop_table.order_details tfoot th {
	font-family: var(--vdb-font-ui);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--vdb-text-muted);
	text-transform: uppercase;
	padding: 12px 16px;
	border-bottom: 1px solid var(--vdb-border);
	background: transparent;
	text-align: right;
}

body.woocommerce-account table.woocommerce-table--order-details tfoot td,
body.woocommerce-account table.shop_table.order_details tfoot td {
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	font-weight: 600;
	color: var(--vdb-text);
	padding: 12px 16px;
	border-bottom: 1px solid var(--vdb-border);
	background: transparent;
	text-align: right;
}

body.woocommerce-account table.woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-account table.woocommerce-table--order-details tfoot tr:last-child td {
	font-size: 16px;
	font-weight: 600;
	color: var(--vdb-text);
	letter-spacing: 0;
	text-transform: none;
	padding-top: 18px;
	padding-bottom: 18px;
	border-bottom: none;
}

/* Adresses client (billing + shipping) en 2 colonnes */
body.woocommerce-account .woocommerce-customer-details .woocommerce-columns--addresses,
body.woocommerce-account .woocommerce-customer-details .u-columns.col2-set {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

body.woocommerce-account .woocommerce-customer-details .woocommerce-columns--addresses .col-1,
body.woocommerce-account .woocommerce-customer-details .woocommerce-columns--addresses .col-2,
body.woocommerce-account .woocommerce-customer-details .u-columns .u-column1,
body.woocommerce-account .woocommerce-customer-details .u-columns .u-column2 {
	background: #fff;
	border: 1px solid var(--vdb-border);
	padding: 24px;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

body.woocommerce-account .woocommerce-customer-details address {
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	line-height: 1.6;
	color: var(--vdb-text);
	font-style: normal;
	margin: 0;
}

/* Order updates (notes client) */
body.woocommerce-account .woocommerce-OrderUpdates {
	list-style: none !important;
	margin: 0 0 32px !important;
	padding: 0 !important;
}

body.woocommerce-account .woocommerce-OrderUpdate {
	background: var(--vdb-beige);
	padding: 18px 20px;
	margin: 0 0 12px !important;
	border-left: 3px solid var(--vdb-bordeaux-light);
	list-style: none !important;
}

body.woocommerce-account .woocommerce-OrderUpdate::before,
body.woocommerce-account .woocommerce-OrderUpdate::marker {
	content: none !important;
	display: none !important;
}

body.woocommerce-account .woocommerce-OrderUpdate-meta {
	font-family: var(--vdb-font-ui);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--vdb-text-muted);
	margin: 0 0 6px;
}

body.woocommerce-account .woocommerce-OrderUpdate-description {
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	line-height: 1.5;
	color: var(--vdb-text);
}

body.woocommerce-account .woocommerce-OrderUpdate-description p {
	margin: 0;
}

/* =========================================================================
   §10 — Édition du compte (edit-account)
   ========================================================================= */
body.woocommerce-account .woocommerce-EditAccountForm {
	background: #fff;
	border: 1px solid var(--vdb-border);
	padding: 32px;
}

body.woocommerce-account .woocommerce-EditAccountForm > p.form-row {
	margin-bottom: 18px;
}

/* Grid 2 cols pour first_name / last_name */
body.woocommerce-account .woocommerce-EditAccountForm {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
	row-gap: 0;
}

body.woocommerce-account .woocommerce-EditAccountForm > p.form-row--first,
body.woocommerce-account .woocommerce-EditAccountForm > p.woocommerce-form-row--first {
	grid-column: 1 / 2;
}

body.woocommerce-account .woocommerce-EditAccountForm > p.form-row--last,
body.woocommerce-account .woocommerce-EditAccountForm > p.woocommerce-form-row--last {
	grid-column: 2 / 3;
}

body.woocommerce-account .woocommerce-EditAccountForm > p.form-row-wide,
body.woocommerce-account .woocommerce-EditAccountForm > p.woocommerce-form-row--wide,
body.woocommerce-account .woocommerce-EditAccountForm > fieldset,
body.woocommerce-account .woocommerce-EditAccountForm > .clear,
body.woocommerce-account .woocommerce-EditAccountForm > .woocommerce-form__label-for-checkbox {
	grid-column: 1 / -1;
}

/* Section password change (fieldset) */
body.woocommerce-account .woocommerce-EditAccountForm fieldset {
	border: none;
	border-top: 1px solid var(--vdb-border);
	margin: 12px 0 12px;
	padding: 24px 0 0;
}

body.woocommerce-account .woocommerce-EditAccountForm fieldset legend {
	font-family: var(--vdb-font-serif);
	font-size: 20px;
	font-weight: 400;
	color: var(--vdb-text);
	margin: 0 0 16px;
	padding: 0;
	float: none;
	width: auto;
}

body.woocommerce-account .woocommerce-EditAccountForm fieldset .form-row,
body.woocommerce-account .woocommerce-EditAccountForm fieldset .woocommerce-form-row {
	margin-bottom: 18px;
}

/* Boutons Save changes — pleine largeur dans le formulaire */
body.woocommerce-account .woocommerce-EditAccountForm > p:last-child {
	grid-column: 1 / -1;
	margin-top: 8px;
}

body.woocommerce-account .woocommerce-EditAccountForm > p:last-child button {
	min-width: 240px;
}

/* =========================================================================
   §11 — Édition des adresses (edit-address + my-address)
   ========================================================================= */

/* Vue liste (my-address.php) : 2 colonnes billing + shipping */
body.woocommerce-account .woocommerce-Addresses,
body.woocommerce-account .u-columns.woocommerce-Addresses,
body.woocommerce-account .woocommerce-MyAccount-content > .u-columns.col2-set.addresses {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 0;
}

body.woocommerce-account .woocommerce-Address {
	background: #fff;
	border: 1px solid var(--vdb-border);
	padding: 24px;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

body.woocommerce-account .woocommerce-Address-title.title {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--vdb-border);
}

body.woocommerce-account .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-Address-title h3 {
	font-family: var(--vdb-font-serif);
	font-size: 20px;
	font-weight: 400;
	color: var(--vdb-text);
	margin: 0;
	padding: 0;
	border: none;
}

body.woocommerce-account .woocommerce-Address-title a.edit {
	display: inline-block;
	width: auto;
	font-family: var(--vdb-font-ui);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vdb-text-muted);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
	align-self: flex-start;
}

body.woocommerce-account .woocommerce-Address-title a.edit:hover {
	color: var(--vdb-bordeaux);
	border-bottom-color: var(--vdb-bordeaux);
}

body.woocommerce-account .woocommerce-Address address {
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	line-height: 1.6;
	color: var(--vdb-text);
	font-style: normal;
	margin: 0;
}

/* Vue formulaire (form-edit-address.php) */
body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content form {
	background: #fff;
	border: 1px solid var(--vdb-border);
	padding: 32px;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content form h2,
body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content form h3 {
	margin-top: 0;
}

body.woocommerce-account .woocommerce-address-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
}

body.woocommerce-account .woocommerce-address-fields__field-wrapper > p {
	margin-bottom: 18px;
}

body.woocommerce-account .woocommerce-address-fields__field-wrapper > p.form-row-first,
body.woocommerce-account .woocommerce-address-fields__field-wrapper > p.woocommerce-form-row--first {
	grid-column: 1 / 2;
}

body.woocommerce-account .woocommerce-address-fields__field-wrapper > p.form-row-last,
body.woocommerce-account .woocommerce-address-fields__field-wrapper > p.woocommerce-form-row--last {
	grid-column: 2 / 3;
}

body.woocommerce-account .woocommerce-address-fields__field-wrapper > p.form-row-wide,
body.woocommerce-account .woocommerce-address-fields__field-wrapper > p.woocommerce-form-row--wide,
body.woocommerce-account .woocommerce-address-fields__field-wrapper > p.address-field,
body.woocommerce-account .woocommerce-address-fields__field-wrapper > p[class*="form-row"]:not(.form-row-first):not(.form-row-last) {
	grid-column: 1 / -1;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content form > p:last-child {
	margin-top: 8px;
}

/* =========================================================================
   §12 — Payment methods + Downloads (si actifs)
   ========================================================================= */
body.woocommerce-account .woocommerce-MyAccount-paymentMethods,
body.woocommerce-account .woocommerce-MyAccount-downloads {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: none;
	background: transparent;
}

body.woocommerce-account .woocommerce-MyAccount-paymentMethods thead th,
body.woocommerce-account .woocommerce-MyAccount-downloads thead th {
	font-family: var(--vdb-font-ui);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--vdb-text-muted);
	padding: 14px 16px;
	border-bottom: 1px solid var(--vdb-border);
	border-top: 1px solid var(--vdb-border);
	background: transparent;
	text-align: left;
}

body.woocommerce-account .woocommerce-MyAccount-paymentMethods tbody td,
body.woocommerce-account .woocommerce-MyAccount-downloads tbody td {
	font-family: var(--vdb-font-ui);
	font-size: 14px;
	font-weight: 500;
	color: var(--vdb-text);
	padding: 18px 16px;
	border-bottom: 1px solid var(--vdb-border);
	background: transparent;
	vertical-align: middle;
}

body.woocommerce-account .woocommerce-MyAccount-paymentMethods .button,
body.woocommerce-account .woocommerce-MyAccount-downloads .button {
	margin: 0 0 0 8px;
	min-width: 0;
	padding: 8px 14px;
	background: transparent;
	border: 1px solid var(--vdb-text);
	color: var(--vdb-text);
	font-size: 11px;
	letter-spacing: 0.10em;
}

body.woocommerce-account .woocommerce-MyAccount-paymentMethods .button:hover,
body.woocommerce-account .woocommerce-MyAccount-downloads .button:hover {
	background: var(--vdb-text);
	color: #fff;
}

/* Bouton "Add payment method" hors table */
body.woocommerce-account.woocommerce-account .woocommerce-MyAccount-content > .button.woocommerce-button {
	margin-top: 24px;
}

/* =========================================================================
   §13 — Notices (.woocommerce-message, .woocommerce-error, .woocommerce-info)
   ========================================================================= */
body.woocommerce-account .woocommerce-notices-wrapper,
body.woocommerce-account .woocommerce > .woocommerce-notices-wrapper {
	margin: 0 0 24px;
	grid-column: 1 / -1;
}

body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-error,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account ul.woocommerce-error,
body.woocommerce-account ul.woocommerce-info,
body.woocommerce-account ul.woocommerce-message,
body.woocommerce-account div.woocommerce-message,
body.woocommerce-account div.woocommerce-error,
body.woocommerce-account div.woocommerce-info {
	background: var(--vdb-beige) !important;
	border: none !important;
	border-left: 3px solid var(--vdb-bordeaux-light) !important;
	padding: 14px 20px !important;
	margin: 0 0 20px !important;
	font-family: var(--vdb-font-ui) !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
	color: var(--vdb-text) !important;
	border-radius: 0 !important;
	list-style: none !important;
	box-shadow: none !important;
}

body.woocommerce-account .woocommerce-error,
body.woocommerce-account ul.woocommerce-error,
body.woocommerce-account div.woocommerce-error {
	border-left-color: var(--vdb-bordeaux) !important;
	background: rgba(139, 26, 43, 0.06) !important;
}

body.woocommerce-account .woocommerce-message::before,
body.woocommerce-account .woocommerce-error::before,
body.woocommerce-account .woocommerce-info::before {
	display: none !important;
}

body.woocommerce-account .woocommerce-message li,
body.woocommerce-account .woocommerce-error li,
body.woocommerce-account .woocommerce-info li {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body.woocommerce-account .woocommerce-message li::before,
body.woocommerce-account .woocommerce-error li::before,
body.woocommerce-account .woocommerce-info li::before {
	content: none !important;
	display: none !important;
}

body.woocommerce-account .woocommerce-message a,
body.woocommerce-account .woocommerce-error a,
body.woocommerce-account .woocommerce-info a {
	color: var(--vdb-bordeaux);
	text-decoration: underline;
}

body.woocommerce-account .woocommerce-message .button,
body.woocommerce-account .woocommerce-error .button,
body.woocommerce-account .woocommerce-info .button {
	float: right;
	margin: 0;
	padding: 8px 14px;
	min-width: 0;
	font-size: 11px;
	letter-spacing: 0.10em;
	background: transparent;
	border: 1px solid var(--vdb-text);
	color: var(--vdb-text);
}

body.woocommerce-account .woocommerce-message .button:hover {
	background: var(--vdb-text);
	color: #fff;
}

/* Champs en erreur dans les formulaires */
body.woocommerce-account .woocommerce-invalid input.input-text,
body.woocommerce-account .woocommerce-invalid select,
body.woocommerce-account .woocommerce form .form-row.woocommerce-invalid input.input-text,
body.woocommerce-account .woocommerce form .form-row.woocommerce-invalid select {
	outline: 2px solid var(--vdb-bordeaux);
	outline-offset: -2px;
	background: rgba(139, 26, 43, 0.06);
}

body.woocommerce-account .woocommerce-validated input.input-text {
	outline: none;
}

/* =========================================================================
   §14 — Responsive
   ========================================================================= */
@media (max-width: 1024px) {
	body.woocommerce-account.logged-in .woocommerce {
		grid-template-columns: 200px 1fr;
		gap: 32px;
	}
}

@media (max-width: 768px) {
	body.woocommerce-account #main-content .container {
		padding: 40px 20px 60px;
	}

	body.woocommerce-account #left-area > article h1.entry-title,
	body.woocommerce-account .et_pb_post_title h1,
	body.woocommerce-account .vdb-account-title {
		font-size: 32px;
		margin-bottom: 24px;
	}

	body.woocommerce-account .woocommerce h2 {
		font-size: 20px;
	}

	/* Login + register en stack */
	body.woocommerce-account #customer_login {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	body.woocommerce-account #customer_login .u-column1,
	body.woocommerce-account #customer_login .u-column2 {
		padding: 24px;
	}

	/* Layout connecté : sidebar nav au-dessus du content */
	body.woocommerce-account.logged-in .woocommerce {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation {
		position: static;
		padding: 20px 16px;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: block;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
		display: block;
		margin: 0;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
		display: block;
		padding: 12px 14px;
		white-space: normal;
	}

	body.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout {
		margin-top: 8px !important;
		padding-top: 8px !important;
		border-top: 1px solid var(--vdb-border) !important;
	}

	/* Adresses billing/shipping en stack */
	body.woocommerce-account .woocommerce-Addresses,
	body.woocommerce-account .u-columns.woocommerce-Addresses,
	body.woocommerce-account .woocommerce-MyAccount-content > .u-columns.col2-set.addresses,
	body.woocommerce-account .woocommerce-customer-details .woocommerce-columns--addresses,
	body.woocommerce-account .woocommerce-customer-details .u-columns.col2-set {
		grid-template-columns: 1fr !important;
	}

	/* Formulaires en 1 col */
	body.woocommerce-account .woocommerce-EditAccountForm,
	body.woocommerce-account .woocommerce-address-fields__field-wrapper {
		grid-template-columns: 1fr;
	}

	body.woocommerce-account .woocommerce-EditAccountForm > p,
	body.woocommerce-account .woocommerce-address-fields__field-wrapper > p {
		grid-column: 1 / -1 !important;
	}

	body.woocommerce-account .woocommerce-EditAccountForm > p:last-child button {
		min-width: 0;
		width: 100%;
	}

	/* Tables responsive en mode stack (WC inject .shop_table_responsive) */
	body.woocommerce-account .woocommerce-orders-table.shop_table_responsive,
	body.woocommerce-account .account-orders-table.shop_table_responsive {
		border: none;
	}

	body.woocommerce-account .woocommerce-orders-table.shop_table_responsive thead {
		display: none;
	}

	body.woocommerce-account .woocommerce-orders-table.shop_table_responsive tbody tr {
		display: block;
		background: #fff;
		border: 1px solid var(--vdb-border);
		padding: 16px;
		margin: 0 0 16px;
	}

	body.woocommerce-account .woocommerce-orders-table.shop_table_responsive tbody td {
		display: block;
		padding: 6px 0;
		border-bottom: none;
		text-align: left !important;
	}

	body.woocommerce-account .woocommerce-orders-table.shop_table_responsive tbody td::before {
		content: attr(data-title) ": ";
		font-weight: 600;
		font-size: 11px;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--vdb-text-muted);
		margin-right: 8px;
	}

	body.woocommerce-account .woocommerce-orders-table.shop_table_responsive .woocommerce-orders-table__cell-order-actions {
		text-align: left;
		padding-top: 12px;
		border-top: 1px solid var(--vdb-border);
		margin-top: 8px;
	}

	body.woocommerce-account .woocommerce-orders-table.shop_table_responsive .woocommerce-orders-table__cell-order-actions::before {
		display: none;
	}

	body.woocommerce-account .woocommerce-orders-table.shop_table_responsive .woocommerce-orders-table__cell-order-actions .button {
		margin: 4px 8px 4px 0;
	}
}

@media (max-width: 480px) {
	body.woocommerce-account #main-content .container {
		padding: 32px 16px 48px;
	}

	body.woocommerce-account #customer_login .u-column1,
	body.woocommerce-account #customer_login .u-column2,
	body.woocommerce-account .woocommerce-EditAccountForm,
	body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content form,
	body.woocommerce-account .woocommerce-Address {
		padding: 20px;
	}
}
