/**
 * Espace client (Mon compte) : même charte que la fenêtre de réservation.
 *
 * Les règles sont préfixées par .akb-account:not(#akb-scope) : la spécificité
 * d'un identifiant passe devant le kit Elementor, le thème et le widget « Mon
 * compte » d'Elementor, sans !important. Les gabarits de WooCommerce
 * (commandes, adresses, profil) sont habillés dans le même cadre.
 */
.akb-account {
	--akb-primary: #0064A8; --akb-primary-hover: #005490; --akb-navy: #011B35; --akb-navy-2: #0D2438;
	--akb-text: #506679; --akb-text-soft: #6B8090; --akb-disabled: #B9C8D1;
	--akb-accent: #00CACA; --akb-accent-hover: #00B3B3; --akb-accent-light: #B0EAF4;
	--akb-bg: #F7FDFF; --akb-surface: #F2FAFD; --akb-card: #FFFFFF; --akb-border: #D1E1E9;
	--akb-sea: #0098C0; --akb-sky: #B5DFF1; --akb-sky-soft: #E3F3F9; --akb-lime: #CEFD01;
	--akb-danger: #B42318; --akb-danger-bg: #FEF3F2; --akb-danger-border: #F4B7B2;
	--akb-success: #067647; --akb-success-bg: #ECFDF3; --akb-warning: #B54708; --akb-warning-bg: #FFFAEB;
	--akb-r-sm: 10px; --akb-r-md: 14px; --akb-r-lg: 20px; --akb-r-xl: 28px; --akb-r-pill: 999px;
	--akb-font-head: 'Outfit', system-ui, sans-serif; --akb-font-body: 'Inter', system-ui, sans-serif;
	--akb-tap: 44px;
}

/* ---------- base ---------- */
.akb-account:not(#akb-scope) { font-family: var(--akb-font-body); font-size: 15px; line-height: 1.5; color: var(--akb-text); max-width: none; margin: 0; text-align: start; }
.akb-account:not(#akb-scope) *, .akb-account:not(#akb-scope) *::before, .akb-account:not(#akb-scope) *::after { box-sizing: border-box; }
.akb-account:not(#akb-scope) :where(h2, h3, h4, p, ul, ol, dl, dd, figure) { margin: 0; }
.akb-account:not(#akb-scope) :where(ul, ol) { list-style: none; padding: 0; }
.akb-account:not(#akb-scope) :where(button) { font: inherit; text-transform: none; letter-spacing: normal; border: 0; box-shadow: none; text-shadow: none; }
.akb-account:not(#akb-scope) :where(a) { color: var(--akb-primary); }
.akb-account:not(#akb-scope) :where(a:hover) { color: var(--akb-primary-hover); }
.akb-account:not(#akb-scope) :focus-visible { outline: 3px solid var(--akb-primary); outline-offset: 2px; }
.akb-account:not(#akb-scope) .akb-acc-icon { width: 20px; height: 20px; flex: none; }
.akb-account:not(#akb-scope) .akb-acc-muted { color: var(--akb-text-soft); font-size: 13px; }
.akb-account:not(#akb-scope) .akb-acc-warn { color: var(--akb-warning); font-weight: 600; }

/* ---------- en-tête ---------- */
.akb-account:not(#akb-scope) .akb-acc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; background: var(--akb-navy); color: #fff; border-radius: var(--akb-r-xl); padding: 24px 28px; }
.akb-account:not(#akb-scope) .akb-acc-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--akb-sea); }
.akb-account:not(#akb-scope) .akb-acc-head .akb-acc-eyebrow { color: var(--akb-accent-light); }
.akb-account:not(#akb-scope) .akb-acc-title { font-family: var(--akb-font-head); font-weight: 700; font-size: clamp(26px, 4vw, 34px); line-height: 1.1; color: #fff; margin: 4px 0 0; letter-spacing: -.01em; }
.akb-account:not(#akb-scope) .akb-acc-sub { color: var(--akb-sky); font-size: 14px; margin-top: 6px; }

/* ---------- boutons ---------- */
.akb-account:not(#akb-scope) .akb-acc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--akb-tap); padding: 0 20px; border-radius: var(--akb-r-pill); background: var(--akb-primary); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s; white-space: nowrap; }
.akb-account:not(#akb-scope) .akb-acc-btn:hover { background: var(--akb-primary-hover); color: #fff; }
.akb-account:not(#akb-scope) .akb-acc-btn--accent { background: var(--akb-accent); color: var(--akb-navy); }
.akb-account:not(#akb-scope) .akb-acc-btn--accent:hover { background: var(--akb-accent-hover); color: var(--akb-navy); }
.akb-account:not(#akb-scope) .akb-acc-btn--ghost { background: var(--akb-card); color: var(--akb-primary); border-color: var(--akb-border); }
.akb-account:not(#akb-scope) .akb-acc-btn--ghost:hover { background: var(--akb-surface); color: var(--akb-primary-hover); }
.akb-account:not(#akb-scope) .akb-acc-btn--danger { background: var(--akb-danger); color: #fff; }
.akb-account:not(#akb-scope) .akb-acc-btn--danger:hover { background: #912018; color: #fff; }
.akb-account:not(#akb-scope) .akb-acc-link { font-weight: 600; font-size: 14px; text-decoration: none; }

/* ---------- menu ---------- */
.akb-account:not(#akb-scope) .akb-acc-nav { margin: 16px 0 0; overflow-x: auto; scrollbar-width: none; }
.akb-account:not(#akb-scope) .akb-acc-nav::-webkit-scrollbar { display: none; }
.akb-account:not(#akb-scope) .akb-acc-nav ul { display: flex; gap: 6px; padding: 4px; background: var(--akb-card); border: 1px solid var(--akb-border); border-radius: var(--akb-r-pill); width: max-content; min-width: 100%; }
.akb-account:not(#akb-scope) .akb-acc-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--akb-r-pill); color: var(--akb-navy); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.akb-account:not(#akb-scope) .akb-acc-nav a:hover { background: var(--akb-surface); color: var(--akb-primary); }
.akb-account:not(#akb-scope) .akb-acc-nav a.is-current { background: var(--akb-primary); color: #fff; }
.akb-account:not(#akb-scope) .akb-acc-nav .akb-acc-icon { width: 18px; height: 18px; }
.akb-account:not(#akb-scope) .akb-acc-nav__item--customer-logout { margin-inline-start: auto; }
.akb-account:not(#akb-scope) .akb-acc-nav__item--customer-logout a { color: var(--akb-text-soft); }

/* ---------- corps et sections ---------- */
.akb-account:not(#akb-scope) .akb-acc-body { margin-top: 24px; padding: 0; border: 0; background: none; width: auto; float: none; }
.akb-account:not(#akb-scope) .akb-acc-section { margin: 0 0 28px; }
.akb-account:not(#akb-scope) .akb-acc-section__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.akb-account:not(#akb-scope) .akb-acc-section__head .akb-acc-h { margin: 0; }
.akb-account:not(#akb-scope) .akb-acc-h { font-family: var(--akb-font-head); font-weight: 600; font-size: 20px; line-height: 1.2; color: var(--akb-navy); margin: 0 0 12px; }
.akb-account:not(#akb-scope) .akb-acc-card { background: var(--akb-card); border: 1px solid var(--akb-border); border-radius: var(--akb-r-lg); padding: 18px 20px; }
.akb-account:not(#akb-scope) .akb-acc-card--row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.akb-account:not(#akb-scope) .akb-acc-card--row p { flex: 1; min-width: 160px; color: var(--akb-navy); }
.akb-account:not(#akb-scope) .akb-acc-empty { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 28px 20px; }
.akb-account:not(#akb-scope) .akb-acc-list { display: grid; gap: 10px; }
.akb-account:not(#akb-scope) .akb-acc-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.akb-account:not(#akb-scope) .akb-acc-tz { font-size: 12px; color: var(--akb-text-soft); margin: -4px 0 10px; }

/* ---------- notices ---------- */
.akb-account:not(#akb-scope) .akb-acc-notice { border-radius: var(--akb-r-md); padding: 12px 16px; margin: 0 0 16px; font-weight: 500; background: var(--akb-sky-soft); color: var(--akb-navy); }
.akb-account:not(#akb-scope) .akb-acc-notice--success { background: var(--akb-success-bg); color: var(--akb-success); }
.akb-account:not(#akb-scope) .akb-acc-notice--error { background: var(--akb-danger-bg); color: var(--akb-danger); }
.akb-account:not(#akb-scope) .akb-acc-notice--warning { background: var(--akb-warning-bg); color: var(--akb-warning); }
/* La page Mon compte du site masque les messages de WooCommerce : on les rend, dans la charte. */
body.akb-account-page .woocommerce-notices-wrapper .woocommerce-message,
body.akb-account-page .woocommerce-notices-wrapper .woocommerce-error,
body.akb-account-page .woocommerce-notices-wrapper .woocommerce-info { display: block; max-width: none; margin: 0 0 16px; border: 0; border-radius: 14px; padding: 12px 16px; background: #ECFDF3; color: #067647; font-family: 'Inter', system-ui, sans-serif; list-style: none; }
body.akb-account-page .woocommerce-notices-wrapper .woocommerce-error { background: #FEF3F2; color: #B42318; }
body.akb-account-page .woocommerce-notices-wrapper .woocommerce-info { background: #E3F3F9; color: #011B35; }
body.akb-account-page .woocommerce-notices-wrapper :is(.woocommerce-message, .woocommerce-error, .woocommerce-info)::before { content: none; }

/* ---------- badges ---------- */
.akb-account:not(#akb-scope) .akb-acc-badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; border-radius: var(--akb-r-pill); padding: 4px 10px; background: var(--akb-sky-soft); color: var(--akb-navy); white-space: nowrap; }
.akb-account:not(#akb-scope) .akb-acc-badge--ok { background: var(--akb-success-bg); color: var(--akb-success); }
.akb-account:not(#akb-scope) .akb-acc-badge--wait { background: var(--akb-warning-bg); color: var(--akb-warning); }
.akb-account:not(#akb-scope) .akb-acc-badge--warn { background: var(--akb-danger-bg); color: var(--akb-danger); }
.akb-account:not(#akb-scope) .akb-acc-badge--off { background: #EEF2F5; color: var(--akb-text-soft); }

/* ---------- prochaine séance ---------- */
.akb-account:not(#akb-scope) .akb-acc-next { border: 2px solid var(--akb-primary); background: var(--akb-surface); border-radius: var(--akb-r-lg); padding: 18px 20px; display: grid; gap: 12px; }
.akb-account:not(#akb-scope) .akb-acc-next .akb-acc-lesson { border: 0; padding: 0; background: none; }
.akb-account:not(#akb-scope) .akb-acc-next .akb-acc-tz { margin: 0; }
.akb-account:not(#akb-scope) .akb-acc-next--empty { border-style: dashed; border-color: var(--akb-border); justify-items: start; }

/* ---------- séance ---------- */
.akb-account:not(#akb-scope) .akb-acc-lesson { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; background: var(--akb-card); border: 1px solid var(--akb-border); border-radius: var(--akb-r-lg); padding: 14px 16px; }
.akb-account:not(#akb-scope) .akb-acc-date { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--akb-r-md); background: var(--akb-navy); color: #fff; line-height: 1; }
.akb-account:not(#akb-scope) .akb-acc-date__day { font-family: var(--akb-font-head); font-weight: 700; font-size: 22px; }
.akb-account:not(#akb-scope) .akb-acc-date__mon { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--akb-accent-light); margin-top: -10px; }
.akb-account:not(#akb-scope) .akb-acc-lesson__body { display: grid; gap: 2px; min-width: 0; }
.akb-account:not(#akb-scope) .akb-acc-lesson__body strong { font-family: var(--akb-font-head); font-weight: 600; font-size: 16px; color: var(--akb-navy); }
.akb-account:not(#akb-scope) .akb-acc-lesson__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; padding-top: 6px; border-top: 1px solid var(--akb-border); margin-top: 6px; }
.akb-account:not(#akb-scope) .akb-acc-lesson__actions:empty { display: none; }
@media (max-width: 599.98px) {
	.akb-account:not(#akb-scope) .akb-acc-lesson { grid-template-columns: 48px minmax(0, 1fr); }
	.akb-account:not(#akb-scope) .akb-acc-date { width: 48px; height: 48px; }
	.akb-account:not(#akb-scope) .akb-acc-lesson > .akb-acc-badge { grid-column: 2; justify-self: start; }
	/* En-tête compact : l'essentiel (prénom, bouton Réserver) sans pousser
	   la prochaine séance sous la ligne de flottaison. */
	.akb-account:not(#akb-scope) .akb-acc-head { padding: 16px 18px; gap: 12px; }
	.akb-account:not(#akb-scope) .akb-acc-head .akb-acc-eyebrow { display: none; }
	.akb-account:not(#akb-scope) .akb-acc-title { font-size: 24px; margin: 0; }
	.akb-account:not(#akb-scope) .akb-acc-sub { margin-top: 2px; font-size: 13px; }
	.akb-account:not(#akb-scope) .akb-acc-head .akb-acc-btn { width: 100%; }
}

/* ---------- confirmation dans la page ---------- */
.akb-account:not(#akb-scope) .akb-acc-confirm > summary { list-style: none; }
.akb-account:not(#akb-scope) .akb-acc-confirm > summary::-webkit-details-marker { display: none; }
.akb-account:not(#akb-scope) .akb-acc-confirm[open] > summary { background: var(--akb-surface); }
.akb-account:not(#akb-scope) .akb-acc-confirm__panel { margin-top: 8px; display: grid; gap: 10px; background: var(--akb-danger-bg); border: 1px solid var(--akb-danger-border); border-radius: var(--akb-r-md); padding: 12px 14px; color: var(--akb-navy); font-size: 14px; }

/* ---------- chiffres ---------- */
.akb-account:not(#akb-scope) .akb-acc-stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.akb-account:not(#akb-scope) .akb-acc-stat { display: grid; gap: 2px; align-content: start; background: var(--akb-card); border: 1px solid var(--akb-border); border-radius: var(--akb-r-lg); padding: 16px; text-decoration: none; color: inherit; transition: border-color .15s; }
.akb-account:not(#akb-scope) a.akb-acc-stat:hover { border-color: var(--akb-sea); color: inherit; }
.akb-account:not(#akb-scope) .akb-acc-stat__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--akb-sky-soft); color: var(--akb-primary); margin-bottom: 8px; flex: none; }
.akb-account:not(#akb-scope) .akb-acc-stat__value { font-family: var(--akb-font-head); font-weight: 700; font-size: 30px; line-height: 1.05; color: var(--akb-navy); font-variant-numeric: tabular-nums; }
.akb-account:not(#akb-scope) .akb-acc-stat__label { font-size: 13px; }
.akb-account:not(#akb-scope) .akb-acc-stat__detail { font-size: 12px; color: var(--akb-text-soft); margin-top: 4px; }

/* ---------- lignes (commandes, paiements) ---------- */
.akb-account:not(#akb-scope) .akb-acc-rows { background: var(--akb-card); border: 1px solid var(--akb-border); border-radius: var(--akb-r-lg); overflow: hidden; }
.akb-account:not(#akb-scope) .akb-acc-rows li + li { border-top: 1px solid var(--akb-border); }
.akb-account:not(#akb-scope) .akb-acc-rows li > a, .akb-account:not(#akb-scope) .akb-acc-rows li > span:first-child:not(:only-child) { display: flex; }
.akb-account:not(#akb-scope) .akb-acc-rows li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.akb-account:not(#akb-scope) .akb-acc-rows li > a { flex: 1; align-items: center; gap: 12px; color: inherit; text-decoration: none; margin: -12px -16px; padding: 12px 16px; }
.akb-account:not(#akb-scope) .akb-acc-rows li > a:hover { background: var(--akb-surface); }
.akb-account:not(#akb-scope) .akb-acc-rows li > a > span:first-child { flex: 1; display: grid; }
.akb-account:not(#akb-scope) .akb-acc-rows strong { color: var(--akb-navy); }
.akb-account:not(#akb-scope) .akb-acc-rows small { color: var(--akb-text-soft); }
.akb-account:not(#akb-scope) .akb-acc-rows__amount { margin-inline-start: auto; font-family: var(--akb-font-head); font-weight: 700; color: var(--akb-navy); white-space: nowrap; }

/* ---------- à planifier ---------- */
.akb-account:not(#akb-scope) .akb-acc-todo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.akb-account:not(#akb-scope) .akb-acc-todo > div { display: grid; gap: 2px; }
.akb-account:not(#akb-scope) .akb-acc-todo strong { font-family: var(--akb-font-head); font-weight: 600; font-size: 16px; color: var(--akb-navy); }

/* ---------- réservations ---------- */
.akb-account:not(#akb-scope) .akb-acc-booking { display: grid; gap: 12px; align-content: start; }
.akb-account:not(#akb-scope) .akb-acc-booking header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.akb-account:not(#akb-scope) .akb-acc-booking header > div { display: grid; gap: 2px; }
.akb-account:not(#akb-scope) .akb-acc-booking header strong { font-family: var(--akb-font-head); font-weight: 700; font-size: 18px; color: var(--akb-navy); }
.akb-account:not(#akb-scope) .akb-acc-progress { height: 8px; border-radius: var(--akb-r-pill); background: var(--akb-sky-soft); overflow: hidden; }
.akb-account:not(#akb-scope) .akb-acc-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--akb-primary), var(--akb-accent)); }
.akb-account:not(#akb-scope) .akb-acc-progress__text { font-size: 13px; margin-top: -4px; }
.akb-account:not(#akb-scope) .akb-acc-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; padding-top: 10px; border-top: 1px solid var(--akb-border); }
.akb-account:not(#akb-scope) .akb-acc-facts dt { font-size: 12px; color: var(--akb-text-soft); }
.akb-account:not(#akb-scope) .akb-acc-facts dd { color: var(--akb-navy); font-weight: 600; }
.akb-account:not(#akb-scope) .akb-acc-booking__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.akb-account:not(#akb-scope) .akb-acc-booking__actions:empty { display: none; }

/* ---------- repliables ---------- */
.akb-account:not(#akb-scope) .akb-acc-details > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--akb-primary); }
.akb-account:not(#akb-scope) .akb-acc-details > summary::-webkit-details-marker { display: none; }
.akb-account:not(#akb-scope) .akb-acc-details > summary::after { content: ''; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: -4px; }
.akb-account:not(#akb-scope) .akb-acc-details[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.akb-account:not(#akb-scope) .akb-acc-details > summary.akb-acc-h { color: var(--akb-navy); }
.akb-account:not(#akb-scope) .akb-acc-details[open] > :not(summary) { margin-top: 10px; }

/* ---------- formulaires (préférences, profil, adresses, repli sans JS) ---------- */
.akb-account:not(#akb-scope) .akb-acc-form { display: grid; gap: 14px; max-width: 560px; }
.akb-account:not(#akb-scope) .akb-acc-field { display: grid; gap: 6px; }
.akb-account:not(#akb-scope) .akb-acc-field small { font-size: 12px; color: var(--akb-text-soft); }
.akb-account:not(#akb-scope) .akb-acc-field .akb-acc-input--short { max-width: 140px; }
.akb-account:not(#akb-scope) :is(.akb-acc-field label, .woocommerce-form-row label, .form-row label) { font-size: 13px; font-weight: 600; color: var(--akb-navy); }
.akb-account:not(#akb-scope) :is(input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="date"], input[type="number"], select, textarea) { min-height: 46px; width: 100%; padding: 0 14px; border: 1px solid var(--akb-border); border-radius: 12px; background: var(--akb-card); color: var(--akb-navy); font: inherit; font-size: 16px; }
.akb-account:not(#akb-scope) textarea { padding: 10px 14px; min-height: 96px; }
.akb-account:not(#akb-scope) :is(input, select, textarea):focus-visible { border-color: var(--akb-primary); outline: 0; box-shadow: 0 0 0 3px rgba(0, 100, 168, .25); }
.akb-account:not(#akb-scope) .akb-acc-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--akb-navy); }
.akb-account:not(#akb-scope) .akb-acc-check input { width: 20px; height: 20px; accent-color: var(--akb-primary); }

/* ---------- contact ---------- */
.akb-account:not(#akb-scope) .akb-acc-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.akb-account:not(#akb-scope) .akb-acc-contact p { color: var(--akb-navy); }
.akb-account:not(#akb-scope) .akb-acc-contact p:last-child { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- onglets de WooCommerce dans le cadre ---------- */
.akb-account:not(#akb-scope) .woocommerce-orders-table,
.akb-account:not(#akb-scope) .woocommerce-table,
.akb-account:not(#akb-scope) .shop_table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--akb-card); border: 1px solid var(--akb-border); border-radius: var(--akb-r-lg); overflow: hidden; margin: 0 0 20px; font-size: 14px; }
.akb-account:not(#akb-scope) :is(.woocommerce-orders-table, .woocommerce-table, .shop_table) :is(th, td) { padding: 12px 16px; border: 0; border-top: 1px solid var(--akb-border); text-align: start; vertical-align: middle; background: none; }
.akb-account:not(#akb-scope) :is(.woocommerce-orders-table, .woocommerce-table, .shop_table) thead th { border-top: 0; background: var(--akb-surface); color: var(--akb-navy); font-weight: 600; font-size: 13px; }
.akb-account:not(#akb-scope) :is(.woocommerce-button, .woocommerce-Button, .button, button[type="submit"]):not(.akb-acc-btn) { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border: 0; border-radius: var(--akb-r-pill); background: var(--akb-primary); color: #fff; font-family: var(--akb-font-body); font-weight: 600; font-size: 14px; text-transform: none; letter-spacing: normal; text-decoration: none; cursor: pointer; }
.akb-account:not(#akb-scope) :is(.woocommerce-button, .woocommerce-Button, .button, button[type="submit"]):not(.akb-acc-btn):hover { background: var(--akb-primary-hover); color: #fff; }
.akb-account:not(#akb-scope) .woocommerce-orders-table .woocommerce-button + .woocommerce-button { margin-inline-start: 6px; }
.akb-account:not(#akb-scope) :is(.woocommerce-EditAccountForm, .woocommerce-address-fields, .edit-account) { background: var(--akb-card); border: 1px solid var(--akb-border); border-radius: var(--akb-r-lg); padding: 20px; display: grid; gap: 14px; }
.akb-account:not(#akb-scope) :is(.woocommerce-EditAccountForm, .woocommerce-address-fields) :is(.form-row, .woocommerce-form-row) { margin: 0; padding: 0; width: 100%; float: none; display: grid; gap: 6px; }
.akb-account:not(#akb-scope) .woocommerce-EditAccountForm fieldset { border: 1px solid var(--akb-border); border-radius: var(--akb-r-md); padding: 14px 16px; margin: 0; display: grid; gap: 12px; }
.akb-account:not(#akb-scope) .woocommerce-EditAccountForm legend { font-family: var(--akb-font-head); font-weight: 600; color: var(--akb-navy); padding: 0 6px; }
.akb-account:not(#akb-scope) .woocommerce-Addresses { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.akb-account:not(#akb-scope) .woocommerce-Address { background: var(--akb-card); border: 1px solid var(--akb-border); border-radius: var(--akb-r-lg); padding: 18px 20px; width: auto; float: none; }
.akb-account:not(#akb-scope) .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.akb-account:not(#akb-scope) :is(.woocommerce-Address-title h2, .woocommerce-Address-title h3, .woocommerce-order-details__title, .woocommerce-column__title) { font-family: var(--akb-font-head); font-weight: 600; font-size: 18px; color: var(--akb-navy); margin: 0 0 10px; }
.akb-account:not(#akb-scope) mark { background: var(--akb-sky-soft); color: var(--akb-navy); padding: 0 4px; border-radius: 4px; }
.akb-account:not(#akb-scope) .woocommerce-pagination { display: flex; gap: 8px; }
@media (max-width: 599.98px) {
	.akb-account:not(#akb-scope) .woocommerce-orders-table thead { display: none; }
	.akb-account:not(#akb-scope) .woocommerce-orders-table tr { display: grid; padding: 10px 0; border-top: 1px solid var(--akb-border); }
	.akb-account:not(#akb-scope) .woocommerce-orders-table :is(th, td) { border: 0; padding: 4px 16px; display: flex; justify-content: space-between; gap: 12px; }
	.akb-account:not(#akb-scope) .woocommerce-orders-table td::before { content: attr(data-title); font-weight: 600; color: var(--akb-navy); }
}

/* ---------- le widget « Mon compte » d'Elementor : notre cadre prend toute la place ---------- */
.e-my-account-tab .akb-account:not(#akb-scope) .woocommerce-MyAccount-content { width: auto; padding: 0; border: 0; margin-top: 24px; }
body.akb-account-page .e-my-account-tab .woocommerce { display: block; }
.akb-account:not(#akb-scope) .woocommerce-MyAccount-content-wrapper { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; margin: 0; }
.akb-account:not(#akb-scope) .woocommerce-notices-wrapper:empty { display: none; }

/* Chiffres sur téléphone : deux par ligne plutôt qu'une colonne de cinq
   cartes (après les règles de base, qu'elles remplacent). */
@media (max-width: 599.98px) {
	.akb-account:not(#akb-scope) .akb-acc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.akb-account:not(#akb-scope) .akb-acc-stat { padding: 12px 14px; }
	.akb-account:not(#akb-scope) .akb-acc-stat__icon { width: 30px; height: 30px; margin-bottom: 4px; }
	.akb-account:not(#akb-scope) .akb-acc-stat__value { font-size: 24px; }
}

/* ---------- à régler (paiement en ligne) ---------- */
.akb-account:not(#akb-scope) .akb-acc-due { background: var(--akb-warning-bg); border: 1px solid #FEDF89; border-radius: var(--akb-r-lg); padding: 16px 18px; }
.akb-account:not(#akb-scope) .akb-acc-due .akb-acc-eyebrow { color: var(--akb-warning); }
.akb-account:not(#akb-scope) .akb-acc-due ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.akb-account:not(#akb-scope) .akb-acc-due li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.akb-account:not(#akb-scope) .akb-acc-due li > span { display: grid; gap: 2px; }
.akb-account:not(#akb-scope) .akb-acc-due strong { font-family: var(--akb-font-head); font-size: 18px; color: var(--akb-navy); }
.akb-account:not(#akb-scope) .akb-acc-due small { font-size: 13px; color: var(--akb-text); }
@media (max-width: 599.98px) {
	.akb-account:not(#akb-scope) .akb-acc-due li .akb-acc-btn { width: 100%; }
}

/* ---------- connexion, création de compte, mot de passe ---------- */
.akb-auth:not(#akb-scope) { display: grid; gap: 20px; }
.akb-auth:not(#akb-scope) .akb-auth__grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) {
	.akb-auth:not(#akb-scope) .akb-auth__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.akb-auth:not(#akb-scope) .akb-auth__grid.is-single { grid-template-columns: minmax(0, 560px); }
}
.akb-auth:not(#akb-scope) .akb-auth__card { display: grid; gap: 16px; padding: 24px; }
.akb-auth:not(#akb-scope) .akb-auth__card--alt { background: var(--akb-surface); }
.akb-auth:not(#akb-scope) .akb-auth__card .akb-acc-h { margin: 0; }
.akb-auth:not(#akb-scope) .akb-acc-form { max-width: none; }
/* WooCommerce encadre ses formulaires de connexion : la carte suffit. */
.akb-auth:not(#akb-scope) form.akb-acc-form:is(.login, .register, .lost_reset_password) { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.akb-auth:not(#akb-scope) .akb-auth__row { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 479.98px) { .akb-auth:not(#akb-scope) .akb-auth__row { grid-template-columns: minmax(0, 1fr); } }
.akb-auth:not(#akb-scope) .akb-auth__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.akb-auth:not(#akb-scope) .akb-auth__benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.akb-auth:not(#akb-scope) .akb-auth__benefits li { display: flex; gap: 10px; align-items: center; color: var(--akb-navy); font-size: 14px; }
.akb-auth:not(#akb-scope) .akb-auth__benefits .akb-acc-icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--akb-sky-soft); color: var(--akb-primary); }
.akb-auth:not(#akb-scope) .akb-auth__tip { margin: 0; padding: 12px 14px; border-radius: var(--akb-r-md); background: var(--akb-sky-soft); color: var(--akb-navy); font-size: 13px; }
.akb-auth:not(#akb-scope) .woocommerce-privacy-policy-text { font-size: 12px; color: var(--akb-text-soft); }

/* Téléphone : sélecteur d'indicatif (drapeau +33) devant le numéro. Le menu
   déroulant montre « 🇫🇷 +33 · France » ; fermé, seuls drapeau et indicatif. */
.akb-account:not(#akb-scope) .akb-phone { display: flex; gap: 8px; align-items: stretch; }
.akb-account:not(#akb-scope) .akb-phone > .akb-phone__cc { position: relative; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; width: auto; min-width: 64px; padding: 0 28px 0 12px; white-space: nowrap; cursor: pointer; }
.akb-account:not(#akb-scope) .akb-phone__cc::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6; }
.akb-account:not(#akb-scope) .akb-phone__cc > select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.akb-account:not(#akb-scope) .akb-phone__cc { min-height: 46px; border: 1px solid var(--akb-border); border-radius: 12px; background: var(--akb-card); color: var(--akb-navy); font-size: 16px; }
.akb-account:not(#akb-scope) .akb-phone__cc:focus-within { border-color: var(--akb-primary); box-shadow: 0 0 0 3px rgba(0, 100, 168, .25); }
.akb-account:not(#akb-scope) .akb-phone__cc > select { min-height: 0; padding: 0; border: 0; }
.akb-account:not(#akb-scope) .akb-phone > input { flex: 1 1 auto; min-width: 0; }
