/* ====================================================================
   NOSK8 — Mon compte (refonte 2026-05-16)
   ====================================================================
   Palette officielle stricte :
     #ffffff (60% blanc) · #1a2744 (30% bleu nuit) · #111111 (10% noir)
     Hover #2a3a5c (jamais vert) · Inputs gris #d8dde6
   Typo : Bebas Neue (titres) · Inter (body+inputs) · Barlow Condensed (CTAs)
   Mobile-first, max-width 1080px (cohérent avec template Elementor d'origine).
   Pas d'emojis, pas d'icônes FontAwesome — SVG Lucide via background-image.
   ==================================================================== */

/* ── Layout principal ────────────────────────────────────────────── */
.n8-account {
    max-width: 1080px;
    margin: 0 auto;
    padding: 16px 20px 80px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #111111;
    background: #ffffff;
}

@media (min-width: 768px) {
    .n8-account { padding: 24px 32px 96px; }
}

/* Vire le padding-top parent (main.site-main) qui ajoutait ~92px de vide
   au-dessus du H1 quand le header sticky est en place. David 2026-05-16. */
body.nosk8-account-refonte main.site-main,
body.nosk8-account-refonte .site-main,
body.nosk8-account-refonte .ct-page-content { padding-top: 0 !important; }
body.nosk8-account-refonte .entry-content { padding-top: 0 !important; margin-top: 0 !important; }

/* ── Breadcrumb ──────────────────────────────────────────────────── */
.n8-account__breadcrumb {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #6b7896;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.n8-account__breadcrumb a {
    color: #6b7896;
    text-decoration: none;
    transition: color .15s;
}
.n8-account__breadcrumb a:hover { color: #1a2744; }
.n8-account__breadcrumb span[aria-hidden] { color: #c3cad6; font-weight: 300; }

/* ── Intro (h1 + kicker + subtitle) ──────────────────────────────── */
.n8-account__intro { margin-bottom: 28px; }
.n8-account__kicker {
    font-family: 'Space Mono', 'SF Mono', Consolas, monospace;
    font-size: 11px;
    font-weight: 700;
    color: #1a2744;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 6px;
}
.n8-account__title {
    font-family: 'Bebas Neue', 'Helvetica Neue', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.005em;
    color: #111111;
    margin: 0 0 10px;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .n8-account__title { font-size: 58px; }
}
.n8-account__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: #4a5970;
    max-width: 580px;
    margin: 0;
}

/* ════════════════════════════════════════════════════════════════════
   VUE NON-CONNECTÉ : split Login / Register
   ════════════════════════════════════════════════════════════════════ */

.n8-account__split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 24px;
}
@media (min-width: 768px) {
    .n8-account__split { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.n8-account__card {
    background: #f4f6fb;
    border: 1.5px solid #eef1f6;
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
@media (min-width: 768px) {
    .n8-account__card { padding: 36px 32px; }
}
.n8-account__card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 4px;
    letter-spacing: 0.005em;
    text-transform: uppercase;
    line-height: 1;
}

/* ── Forms WC (login + register) ─────────────────────────────────── */
.n8-account .woocommerce-form { margin: 0; }
.n8-account .woocommerce-form-row,
.n8-account .form-row {
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.n8-account label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #1a2744;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}
.n8-account .required { color: #c83a4a; margin-left: 2px; }

.n8-account input[type="text"],
.n8-account input[type="email"],
.n8-account input[type="password"],
.n8-account input[type="tel"],
.n8-account input[type="url"],
.n8-account select,
.n8-account textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    border: 1.5px solid #d8dde6;
    border-radius: 8px;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #111111;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
    appearance: none;
}
.n8-account input:focus,
.n8-account select:focus,
.n8-account textarea:focus {
    outline: none;
    border-color: #1a2744;
    box-shadow: 0 0 0 3px rgba(26, 39, 68, 0.12);
}
.n8-account input::placeholder { color: #a8b4cc; }

/* ── Toggle œil pour input[type=password] ────────────────────────
   Injecté par JS au chargement (page-account.php). SVG Lucide line-icon
   (eye / eye-off), jamais d'icône iOS / FontAwesome. */
.n8-account__pw-wrap {
    position: relative;
    display: block;
}
.n8-account__pw-wrap input[type="password"],
.n8-account__pw-wrap input[type="text"] {
    padding-right: 50px;  /* place pour le bouton œil */
}
.n8-account__pw-toggle {
    /* Override agressif des règles button[type="submit"] globales */
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 8px !important;
    background: transparent !important;
    border: 0 !important;
    color: #6b7896;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background .15s, color .15s;
    line-height: 0;
}
.n8-account__pw-toggle:hover {
    background: rgba(26, 39, 68, 0.06) !important;
    color: #1a2744 !important;
}
.n8-account__pw-toggle:focus-visible {
    outline: 2px solid #1a2744;
    outline-offset: 2px;
}
.n8-account__pw-toggle svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Remember me / checkbox ──────────────────────────────────────── */
.n8-account .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    font-weight: 500;
    color: #4a5970;
    cursor: pointer;
}
.n8-account input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #1a2744;
    cursor: pointer;
}

/* ── Boutons (Se connecter / Créer / etc.) ───────────────────────── */
.n8-account .woocommerce-button,
.n8-account .button,
.n8-account button[type="submit"] {
    font-family: 'Barlow Condensed', 'Helvetica Neue', sans-serif;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 15px 24px;
    border-radius: 10px;
    background: #0a0f1a;
    color: #ffffff;
    border: 1.5px solid #0a0f1a;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .1s;
    width: 100%;
    margin-top: 4px;
}
.n8-account .woocommerce-button:hover,
.n8-account .button:hover,
.n8-account button[type="submit"]:hover {
    background: #1a2744;
    border-color: #1a2744;
}
.n8-account .woocommerce-button:active,
.n8-account .button:active,
.n8-account button[type="submit"]:active { transform: scale(0.98); }

/* ── Lost password ───────────────────────────────────────────────── */
.n8-account__lost-pw {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #4a5970;
    text-align: center;
    margin: 24px 0 0;
}
.n8-account__lost-pw a {
    color: #1a2744;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}
.n8-account__lost-pw a:hover { color: #2a3a5c; }

/* Cacher le lien lost-pw inline du form WC (on a notre version sous le split) */
.n8-account .woocommerce-LostPassword { display: none; }

/* ════════════════════════════════════════════════════════════════════
   VUE CONNECTÉ : sidebar nav + content
   ════════════════════════════════════════════════════════════════════ */

.n8-account__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 900px) {
    .n8-account__layout {
        grid-template-columns: 260px 1fr;
        gap: 36px;
    }
}

/* ── Sidebar navigation ──────────────────────────────────────────── */
.n8-account__nav { margin: 0; }
.n8-account__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f4f6fb;
    border: 1.5px solid #eef1f6;
    border-radius: 12px;
    overflow: hidden;
}
.n8-account__nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #e6eaf2;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #4a5970;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.n8-account__nav-list li:last-child .n8-account__nav-link { border-bottom: 0; }
.n8-account__nav-link:hover {
    background: #ffffff;
    color: #1a2744;
}
.n8-account__nav-link.is-active {
    background: #1a2744;
    color: #ffffff;
}

/* Icônes SVG Lucide via mask-image (palette-color aware via background-color) */
.n8-account__nav-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    background-color: currentColor;
    -webkit-mask: center / contain no-repeat;
    mask: center / contain no-repeat;
}
.n8-account__nav-link[data-endpoint="dashboard"] .n8-account__nav-icon {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='7' height='9'/><rect x='14' y='3' width='7' height='5'/><rect x='14' y='12' width='7' height='9'/><rect x='3' y='16' width='7' height='5'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='7' height='9'/><rect x='14' y='3' width='7' height='5'/><rect x='14' y='12' width='7' height='9'/><rect x='3' y='16' width='7' height='5'/></svg>");
}
.n8-account__nav-link[data-endpoint="orders"] .n8-account__nav-icon {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/><line x1='3' y1='6' x2='21' y2='6'/><path d='M16 10a4 4 0 0 1-8 0'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/><line x1='3' y1='6' x2='21' y2='6'/><path d='M16 10a4 4 0 0 1-8 0'/></svg>");
}
.n8-account__nav-link[data-endpoint="downloads"] .n8-account__nav-icon {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/><polyline points='7 10 12 15 17 10'/><line x1='12' y1='15' x2='12' y2='3'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/><polyline points='7 10 12 15 17 10'/><line x1='12' y1='15' x2='12' y2='3'/></svg>");
}
.n8-account__nav-link[data-endpoint="edit-address"] .n8-account__nav-icon {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/><circle cx='12' cy='10' r='3'/></svg>");
}
.n8-account__nav-link[data-endpoint="payment-methods"] .n8-account__nav-icon {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='5' width='20' height='14' rx='2' ry='2'/><line x1='2' y1='10' x2='22' y2='10'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='5' width='20' height='14' rx='2' ry='2'/><line x1='2' y1='10' x2='22' y2='10'/></svg>");
}
.n8-account__nav-link[data-endpoint="edit-account"] .n8-account__nav-icon {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>");
}
.n8-account__nav-link[data-endpoint="nosk8-favoris"] .n8-account__nav-icon {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/></svg>");
}
.n8-account__nav-link[data-endpoint="customer-logout"] .n8-account__nav-icon {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/><polyline points='16 17 21 12 16 7'/><line x1='21' y1='12' x2='9' y2='12'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/><polyline points='16 17 21 12 16 7'/><line x1='21' y1='12' x2='9' y2='12'/></svg>");
}

/* ── Zone content (dashboard, commandes, etc.) ──────────────────── */
.n8-account__content {
    min-width: 0;  /* permet aux tables WC de wrapper sans déborder */
}

/* TOUTES les sections sont rendues dans le DOM. Le SPA toggle juste
   .is-visible. Navigation INSTANTANÉE entre onglets, zéro chargement. */
.n8-account__section { display: none; }
.n8-account__section.is-visible { display: block; }
.n8-account__content-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 18px;
    line-height: 1;
    letter-spacing: 0.005em;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .n8-account__content-title { font-size: 38px; margin-bottom: 22px; }
}
.n8-account__content .woocommerce-MyAccount-content p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #4a5970;
}
.n8-account__content .woocommerce-MyAccount-content a {
    color: #1a2744;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}
.n8-account__content .woocommerce-MyAccount-content a:hover { color: #2a3a5c; }
.n8-account__content .woocommerce-MyAccount-content strong { color: #111111; }

/* Tables WC (commandes, etc.) */
.n8-account__content table.shop_table,
.n8-account__content table.account-orders-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 0 24px;
    background: #ffffff;
    border: 1.5px solid #eef1f6;
    border-radius: 12px;
    overflow: hidden;
}
.n8-account__content .shop_table thead th {
    background: #1a2744;
    color: #ffffff;
    padding: 14px 16px;
    text-align: left;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 0;
}
.n8-account__content .shop_table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #eef1f6;
    font-size: 14px;
    color: #4a5970;
    vertical-align: middle;
}
.n8-account__content .shop_table tbody tr:last-child td { border-bottom: 0; }
.n8-account__content .shop_table tbody tr:hover { background: #f4f6fb; }

/* "Voir" / "Annuler" / "Re-commander" buttons sur tables */
.n8-account__content .woocommerce-button:not(.woocommerce-Button--alt) {
    width: auto;
    padding: 8px 14px;
    font-size: 12px;
    margin: 0 4px 0 0;
}

/* Headings dans le content (Détails de facturation, Adresses, etc.) */
.n8-account__content h2,
.n8-account__content h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: #111111;
    margin: 28px 0 12px;
    line-height: 1.1;
    letter-spacing: 0.005em;
    text-transform: uppercase;
}
.n8-account__content h2 { font-size: 26px; }
.n8-account__content h3 { font-size: 20px; }
.n8-account__content h2:first-child,
.n8-account__content h3:first-child { margin-top: 0; }

/* Cards adresses */
.n8-account__content .woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 16px 0 0;
}
@media (min-width: 600px) {
    .n8-account__content .woocommerce-Addresses {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}
.n8-account__content .woocommerce-Address {
    background: #f4f6fb;
    border: 1.5px solid #eef1f6;
    border-radius: 12px;
    padding: 22px 24px;
}
.n8-account__content .woocommerce-Address address {
    font-style: normal;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #4a5970;
    margin: 0 0 12px;
}
.n8-account__content .woocommerce-Address-title { display: flex; align-items: baseline; justify-content: space-between; }

/* Hide les notices WC duplicate (WC les sort déjà via woocommerce_account_content) */
.n8-account .woocommerce-notices-wrapper:empty { display: none; }

/* ════════════════════════════════════════════════════════════════════
   DASHBOARD (Tableau de bord) — vue d'ensemble custom NOSK8
   ════════════════════════════════════════════════════════════════════ */

.n8-dash { display: block; }
.n8-dash__intro {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    line-height: 1.65;
    color: #4a5970;
    margin: 0 0 24px;
    max-width: 580px;
}

.n8-dash__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0 0 28px;
}
@media (min-width: 560px) { .n8-dash__grid { grid-template-columns: 1fr 1fr; gap: 16px; } }

.n8-dash__card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 22px 22px 18px;
    background: #ffffff;
    border: 1.5px solid #eef1f6;
    border-radius: 14px;
    text-decoration: none;
    color: #111111;
    transition: border-color .2s, box-shadow .2s, transform .15s;
    position: relative;
    overflow: hidden;
}
.n8-dash__card::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #1a2744 0%, #2a3a5c 100%);
    opacity: 0;
    transition: opacity .2s;
}
.n8-dash__card:hover {
    border-color: #1a2744;
    box-shadow: 0 10px 30px -12px rgba(26, 39, 68, 0.25);
    transform: translateY(-2px);
}
.n8-dash__card:hover::after { opacity: 1; }

.n8-dash__card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f0f3f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a2744;
    margin-bottom: 4px;
}
.n8-dash__card-icon svg { width: 20px; height: 20px; }

.n8-dash__card-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #111111;
    line-height: 1;
    letter-spacing: -0.005em;
    margin-top: 6px;
}
.n8-dash__card-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #6b7896;
    text-transform: lowercase;
    letter-spacing: 0;
    margin-bottom: 14px;
}
.n8-dash__card-cta {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12.5px;
    font-weight: 800;
    color: #1a2744;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #eef1f6;
}

/* Bloc dernière commande */
.n8-dash__last {
    background: #0a0f1a;
    color: #ffffff;
    border-radius: 14px;
    padding: 24px 26px;
    margin: 0 0 24px;
}
.n8-dash__last-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.n8-dash__last-kicker {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #a8b4cc;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0;
}
.n8-dash__last-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #2a3a5c;
    color: #ffffff;
}
.n8-dash__last-status--completed { background: #1a7a4b; }
.n8-dash__last-status--processing { background: #c6892a; }
.n8-dash__last-status--cancelled,
.n8-dash__last-status--failed { background: #c83a4a; }

.n8-dash__last-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 14px;
}
.n8-dash__last-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    color: #ffffff;
    margin: 0 0 4px;
    line-height: 1;
}
.n8-dash__last-date {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #a8b4cc;
    margin: 0;
}
.n8-dash__last-total {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    color: #ffffff;
    line-height: 1;
}
.n8-dash__last-total .woocommerce-Price-amount { color: #ffffff !important; }
.n8-dash__last-cta {
    display: inline-block;
    color: #ffffff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(255,255,255,0.4);
    padding-bottom: 2px;
    transition: border-color .15s;
}
.n8-dash__last-cta:hover { border-color: #ffffff; color: #ffffff; }

.n8-dash__footer-cta { margin-top: 8px; }
.n8-dash__shop-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #0a0f1a;
    color: #ffffff !important;
    border-radius: 10px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background .15s;
}
.n8-dash__shop-btn:hover { background: #1a2744; color: #ffffff !important; }


/* ════════════════════════════════════════════════════════════════════
   FAVORIS (Wishlist) — render custom NOSK8 (account-wishlist.php)
   ════════════════════════════════════════════════════════════════════ */

.n8-fav__count {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #6b7896;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 18px;
}
.n8-fav__count span {
    color: #1a2744;
    font-size: 14px;
}

.n8-fav__grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.n8-fav__card {
    background: #ffffff;
    border: 1.5px solid #eef1f6;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, box-shadow .2s, transform .15s;
    position: relative;
}
.n8-fav__card:hover {
    border-color: #1a2744;
    box-shadow: 0 12px 32px -14px rgba(26, 39, 68, 0.3);
    transform: translateY(-2px);
}

.n8-fav__media {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f4f6fb;
}
.n8-fav__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease-out;
}
.n8-fav__card:hover .n8-fav__media img { transform: scale(1.05); }

.n8-fav__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: #0a0f1a;
}
.n8-fav__badge--sale { background: #c83a4a; }
.n8-fav__badge--oos { background: #6b7896; top: 12px; right: 12px; left: auto; }

.n8-fav__body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.n8-fav__name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    line-height: 1.1;
    color: #111111;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    transition: color .15s;
}
.n8-fav__name:hover { color: #1a2744; }

.n8-fav__price {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1a2744;
    margin: 0;
}
.n8-fav__price del { color: #a8b4cc; font-weight: 400; margin-right: 6px; }
.n8-fav__price ins { text-decoration: none; color: #c83a4a; }
.n8-fav__price .woocommerce-Price-amount { color: inherit; }

.n8-fav__actions {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-top: auto;
}
.n8-fav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
    border: 1.5px solid transparent;
}
.n8-fav__btn--cart {
    flex: 1;
    padding: 11px 14px;
    background: #0a0f1a;
    color: #ffffff !important;
    border-color: #0a0f1a;
}
.n8-fav__btn--cart:hover { background: #1a2744; border-color: #1a2744; color: #ffffff !important; }
.n8-fav__btn--remove {
    flex: 0 0 42px;
    padding: 0;
    width: 42px;
    background: #ffffff;
    color: #6b7896 !important;
    border-color: #d8dde6;
}
.n8-fav__btn--remove:hover {
    background: #fef0f2;
    border-color: #c83a4a;
    color: #c83a4a !important;
}
.n8-fav__btn--remove svg { width: 16px; height: 16px; }

/* Empty state */
.n8-fav__empty {
    text-align: center;
    padding: 48px 20px;
    background: #f4f6fb;
    border: 1.5px dashed #d8dde6;
    border-radius: 14px;
}
.n8-fav__empty-icon {
    width: 56px;
    height: 56px;
    color: #a8b4cc;
    margin: 0 auto 16px;
    display: block;
}
.n8-fav__empty-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: #1a2744;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}
.n8-fav__empty-text {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    line-height: 1.55;
    color: #4a5970;
    margin: 0 auto 22px;
    max-width: 360px;
}
.n8-fav__empty-cta {
    display: inline-block;
    padding: 13px 26px;
    background: #0a0f1a;
    color: #ffffff !important;
    border-radius: 10px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background .15s;
}
.n8-fav__empty-cta:hover { background: #1a2744; color: #ffffff !important; }


/* ════════════════════════════════════════════════════════════════════
   COMMANDES, ADRESSES, PAIEMENT, TÉLÉCHARGEMENTS, DÉTAILS COMPTE
   Polish CSS au-dessus du markup WC standard
   ════════════════════════════════════════════════════════════════════ */

/* "Pas encore de commande" / "Pas encore de téléchargement" : empty states WC */
.n8-account__content .woocommerce-Message,
.n8-account__content .woocommerce-info {
    background: #f4f6fb !important;
    border: 1.5px dashed #d8dde6 !important;
    border-left: 1.5px dashed #d8dde6 !important;
    border-radius: 14px;
    padding: 24px 26px !important;
    color: #4a5970 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.n8-account__content .woocommerce-Message::before,
.n8-account__content .woocommerce-info::before { display: none !important; }
.n8-account__content .woocommerce-Message .button,
.n8-account__content .woocommerce-info .button {
    width: auto !important;
    margin: 0 0 0 auto !important;
    padding: 10px 20px !important;
    font-size: 12.5px !important;
    border-radius: 8px !important;
}

/* Tableau commandes : numéro + montant en Bebas Neue */
.n8-account__content .woocommerce-orders-table__cell-order-number a {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    color: #1a2744;
    font-size: 13px;
}
.n8-account__content .woocommerce-orders-table__cell-order-total {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    color: #111111;
}

/* Statut commande : pill colorée */
.n8-account__content .woocommerce-orders-table__cell-order-status mark,
.n8-account__content .order-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #2a3a5c;
    color: #ffffff !important;
}
.n8-account__content .status-completed mark,
.n8-account__content .order-status.status-completed { background: #1a7a4b; }
.n8-account__content .status-processing mark,
.n8-account__content .order-status.status-processing { background: #c6892a; }
.n8-account__content .status-cancelled mark,
.n8-account__content .order-status.status-cancelled { background: #c83a4a; }

/* Form édition compte / adresses : champs alignés en grid */
.n8-account__content .woocommerce-EditAccountForm,
.n8-account__content .woocommerce-address-fields {
    max-width: 640px;
}
.n8-account__content fieldset {
    margin: 24px 0 8px;
    padding: 18px 20px;
    border: 1.5px solid #eef1f6;
    border-radius: 12px;
    background: #f4f6fb;
}
.n8-account__content fieldset legend {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #1a2744;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0 8px;
}

/* ════════════════════════════════════════════════════════════════════
   COMMANDES — cards verticales propres (n8-orders)
   ════════════════════════════════════════════════════════════════════ */

.n8-orders__count {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #6b7896;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 18px;
}
.n8-orders__count span { color: #1a2744; font-size: 14px; }

.n8-orders__list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.n8-orders__card {
    background: #ffffff;
    border: 1.5px solid #eef1f6;
    border-radius: 14px;
    padding: 20px 22px;
    transition: border-color .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.n8-orders__card:hover {
    border-color: #1a2744;
    box-shadow: 0 10px 30px -14px rgba(26,39,68,0.25);
}

.n8-orders__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.n8-orders__head-left { display: flex; flex-direction: column; gap: 2px; }
.n8-orders__num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    color: #111111;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.005em;
}
.n8-orders__date {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #6b7896;
    margin: 0;
    text-transform: lowercase;
}

.n8-orders__status {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #2a3a5c;
    color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
}
.n8-orders__status--completed { background: #1a7a4b; }
.n8-orders__status--processing { background: #c6892a; }
.n8-orders__status--on-hold { background: #6b7896; }
.n8-orders__status--pending { background: #4a5970; }
.n8-orders__status--failed,
.n8-orders__status--cancelled { background: #c83a4a; }
.n8-orders__status--refunded { background: #8d99ad; }

.n8-orders__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.n8-orders__thumbs { display: flex; align-items: center; gap: -6px; }
.n8-orders__thumbs img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ffffff;
    margin-left: -8px;
    background: #f4f6fb;
    box-shadow: 0 2px 6px rgba(10,15,26,0.08);
}
.n8-orders__thumbs img:first-child { margin-left: 0; }
.n8-orders__thumbs-more {
    margin-left: -8px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #1a2744;
    color: #ffffff;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid #ffffff;
}
.n8-orders__meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.n8-orders__items {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #6b7896;
    margin: 0;
    text-transform: lowercase;
}
.n8-orders__total {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    color: #111111;
    margin: 0;
    line-height: 1;
}
.n8-orders__total .woocommerce-Price-amount { color: inherit; }

.n8-orders__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #eef1f6;
}
.n8-orders__btn {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none !important;
    border: 1.5px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.n8-orders__btn--primary {
    background: #0a0f1a;
    color: #ffffff !important;
    border-color: #0a0f1a;
}
.n8-orders__btn--primary:hover { background: #1a2744; border-color: #1a2744; }
.n8-orders__btn--pay {
    background: #c6892a;
    color: #ffffff !important;
    border-color: #c6892a;
}
.n8-orders__btn--pay:hover { background: #a06f1f; border-color: #a06f1f; }
.n8-orders__btn--ghost {
    background: transparent;
    color: #1a2744 !important;
    border-color: #d8dde6;
}
.n8-orders__btn--ghost:hover { border-color: #1a2744; background: #f4f6fb; }

/* Pagination */
.n8-orders__pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 8px 0 0;
    padding: 14px 18px;
    background: #f4f6fb;
    border-radius: 10px;
}
.n8-orders__page-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a2744;
    text-decoration: none;
}
.n8-orders__page-link:hover { color: #2a3a5c; }
.n8-orders__page-current {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #6b7896;
    letter-spacing: 0.08em;
}

/* Empty state commandes */
.n8-orders__empty {
    text-align: center;
    padding: 48px 20px;
    background: #f4f6fb;
    border: 1.5px dashed #d8dde6;
    border-radius: 14px;
}
.n8-orders__empty-icon { width: 56px; height: 56px; color: #a8b4cc; margin: 0 auto 16px; display: block; }
.n8-orders__empty-title { font-family: 'Bebas Neue', sans-serif; font-size: 24px; color: #1a2744; margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.01em; }
.n8-orders__empty-text { font-family: 'Inter', sans-serif; font-size: 14.5px; line-height: 1.55; color: #4a5970; margin: 0 auto 22px; max-width: 360px; }
.n8-orders__empty-cta {
    display: inline-block; padding: 13px 26px; background: #0a0f1a; color: #ffffff !important; border-radius: 10px;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: 0.06em;
    text-transform: uppercase; text-decoration: none !important; transition: background .15s;
}
.n8-orders__empty-cta:hover { background: #1a2744; color: #ffffff !important; }


/* ════════════════════════════════════════════════════════════════════
   ADRESSES — split 2 cards (n8-addr)
   ════════════════════════════════════════════════════════════════════ */

.n8-addr__intro {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    line-height: 1.65;
    color: #4a5970;
    margin: 0 0 24px;
    max-width: 580px;
}

.n8-addr__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 600px) {
    .n8-addr__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

.n8-addr__card {
    background: #ffffff;
    border: 1.5px solid #eef1f6;
    border-radius: 14px;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color .2s, box-shadow .2s;
}
.n8-addr__card:hover {
    border-color: #1a2744;
    box-shadow: 0 10px 30px -14px rgba(26,39,68,0.25);
}
.n8-addr__card--empty { border-style: dashed; background: #f4f6fb; }

.n8-addr__card-head {
    display: flex;
    align-items: center;
    gap: 10px;
}
.n8-addr__card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f0f3f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1a2744;
    flex: 0 0 36px;
}
.n8-addr__card-icon svg { width: 20px; height: 20px; }

.n8-addr__card-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    color: #111111;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.n8-addr__card-body {
    font-style: normal;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    color: #2a3445;
    margin: 0;
    flex: 1;
}

.n8-addr__card-phone,
.n8-addr__card-email {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6b7896;
    margin: 0;
}

.n8-addr__card-empty {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6b7896;
    margin: 0;
    flex: 1;
}

.n8-addr__btn {
    align-self: flex-start;
    margin-top: auto;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none !important;
    border: 1.5px solid transparent;
    transition: background .15s, color .15s, border-color .15s;
}
.n8-addr__btn--primary { background: #0a0f1a; color: #ffffff !important; border-color: #0a0f1a; }
.n8-addr__btn--primary:hover { background: #1a2744; border-color: #1a2744; }
.n8-addr__btn--ghost { background: transparent; color: #1a2744 !important; border-color: #d8dde6; }
.n8-addr__btn--ghost:hover { border-color: #1a2744; background: #f4f6fb; }

/* Mode édition : bandeau retour + titre dédié */
.n8-addr-edit {
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.n8-addr-edit__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 9px 14px 9px 12px;
    background: #ffffff;
    color: #1a2744 !important;
    border: 1.5px solid #d8dde6;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.n8-addr-edit__back:hover,
.n8-addr-edit__back:focus-visible {
    border-color: #1a2744;
    background: #f4f6fb;
    transform: translateX(-2px);
}
.n8-addr-edit__back svg { width: 18px; height: 18px; flex-shrink: 0; }
.n8-addr-edit__title {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    color: #111111;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    line-height: 1.1;
}


/* ════════════════════════════════════════════════════════════════════
   DÉTAILS DU COMPTE — form profil + sécurité (n8-edit)
   ════════════════════════════════════════════════════════════════════ */

.n8-edit { max-width: 640px; }

/* ── Bloc avatar (Photo de profil) ───────────────────────────────── */
.n8-edit__avatar-block {
    max-width: 640px;
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0 0 24px;
    padding: 22px 24px;
    border: 1.5px solid #eef1f6;
    border-radius: 14px;
    background: #ffffff;
    flex-wrap: wrap;
}
.n8-edit__avatar-preview {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    background: #1a2744;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 32px;
    letter-spacing: 0.04em;
    line-height: 1;
}
.n8-edit__avatar-preview img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.n8-edit__avatar-initials { text-transform: uppercase; }
.n8-edit__avatar-actions { flex: 1; min-width: 220px; }
.n8-edit__avatar-title {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #111111;
    margin: 0 0 4px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.n8-edit__avatar-hint {
    font-size: 12px;
    color: #6b7896;
    line-height: 1.45;
    margin: 0 0 12px;
}
.n8-edit__avatar-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.n8-edit__avatar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.n8-edit__avatar-btn--primary {
    background: #0a0f1a;
    color: #ffffff !important;
}
.n8-edit__avatar-btn--primary:hover {
    background: #1a2744;
}
.n8-edit__avatar-btn--primary svg { width: 16px; height: 16px; }
.n8-edit__avatar-btn--ghost {
    background: transparent;
    color: #6b7896 !important;
    border-color: #e6e9ef;
}
.n8-edit__avatar-btn--ghost:hover {
    color: #1a2744 !important;
    border-color: #1a2744;
}
.n8-edit__avatar-status {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #6b7896;
    min-height: 16px;
}
.n8-edit__avatar-status.is-ok { color: #065f46; }
.n8-edit__avatar-status.is-error { color: #991b1b; }
.n8-edit__avatar-status.is-loading { color: #1a2744; }

.n8-edit__section {
    margin: 0 0 22px;
    padding: 22px 24px;
    border: 1.5px solid #eef1f6 !important;
    border-radius: 14px;
    background: #ffffff;
}
.n8-edit__section legend {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    color: #111111;
    padding: 0 6px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    line-height: 1;
}

.n8-edit__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 600px) {
    .n8-edit__row { grid-template-columns: 1fr 1fr; }
    .n8-edit__row .form-row { margin-bottom: 0; }
}

.n8-edit__lead {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    line-height: 1.55;
    color: #6b7896;
    margin: 0 0 16px;
}

.n8-edit__hint {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #6b7896;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 6px;
}

.n8-edit__submit { margin-top: 20px; }


/* ════════════════════════════════════════════════════════════════════
   TÉLÉCHARGEMENTS — cards horizontales (n8-dls)
   ════════════════════════════════════════════════════════════════════ */

.n8-dls__count {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #6b7896;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 18px;
}
.n8-dls__count span { color: #1a2744; font-size: 14px; }

.n8-dls__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.n8-dls__card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1.5px solid #eef1f6;
    border-radius: 12px;
    transition: border-color .2s, box-shadow .2s;
}
.n8-dls__card:hover {
    border-color: #1a2744;
    box-shadow: 0 8px 22px -10px rgba(26,39,68,0.2);
}

.n8-dls__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 10px;
    background: #f0f3f9;
    color: #1a2744;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.n8-dls__icon svg { width: 22px; height: 22px; }

.n8-dls__body { flex: 1; min-width: 0; }
.n8-dls__name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    color: #111111;
    margin: 0 0 2px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.005em;
}
.n8-dls__meta {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    color: #6b7896;
    margin: 0;
}

.n8-dls__btn {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 8px;
    background: #0a0f1a;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: background .15s;
    flex-shrink: 0;
}
.n8-dls__btn:hover { background: #1a2744; }

/* Empty state téléchargements */
.n8-dls__empty,
.n8-pay__empty {
    text-align: center;
    padding: 48px 20px;
    background: #f4f6fb;
    border: 1.5px dashed #d8dde6;
    border-radius: 14px;
}
.n8-dls__empty-icon,
.n8-pay__empty-icon { width: 56px; height: 56px; color: #a8b4cc; margin: 0 auto 16px; display: block; }
.n8-dls__empty-title,
.n8-pay__empty-title { font-family: 'Bebas Neue', sans-serif; font-size: 24px; color: #1a2744; margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.01em; }
.n8-dls__empty-text,
.n8-pay__empty-text { font-family: 'Inter', sans-serif; font-size: 14.5px; line-height: 1.55; color: #4a5970; margin: 0 auto 22px; max-width: 380px; }
.n8-dls__empty-cta,
.n8-pay__empty-cta {
    display: inline-block; padding: 13px 26px; background: #0a0f1a; color: #ffffff !important; border-radius: 10px;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: 0.06em;
    text-transform: uppercase; text-decoration: none !important; transition: background .15s;
}
.n8-dls__empty-cta:hover,
.n8-pay__empty-cta:hover { background: #1a2744; color: #ffffff !important; }


/* ════════════════════════════════════════════════════════════════════
   MOYENS DE PAIEMENT — cards CB (n8-pay)
   ════════════════════════════════════════════════════════════════════ */

.n8-pay__count {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    color: #6b7896;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 18px;
}
.n8-pay__count span { color: #1a2744; font-size: 14px; }

.n8-pay__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }

.n8-pay__card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: #ffffff;
    border: 1.5px solid #eef1f6;
    border-radius: 14px;
    transition: border-color .2s, box-shadow .2s;
    flex-wrap: wrap;
}
.n8-pay__card--default {
    border-color: #1a2744;
    background: linear-gradient(135deg, #f8faff 0%, #f0f3f9 100%);
}
.n8-pay__card:hover { border-color: #1a2744; box-shadow: 0 8px 22px -10px rgba(26,39,68,0.2); }

.n8-pay__brand { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 200px; }
.n8-pay__brand-icon {
    width: 48px;
    height: 32px;
    border-radius: 6px;
    background: #1a2744;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.n8-pay__brand-icon svg { width: 20px; height: 20px; }
.n8-pay__brand-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #111111;
    margin: 0 0 2px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.n8-pay__brand-mask {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: #4a5970;
    margin: 0;
    letter-spacing: 0.05em;
}

.n8-pay__meta { display: flex; align-items: center; gap: 10px; }
.n8-pay__expires {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    color: #6b7896;
    margin: 0;
}
.n8-pay__badge {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    color: #1a7a4b;
    background: #e3f3eb;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.n8-pay__actions { display: flex; gap: 8px; }
.n8-pay__action {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a2744 !important;
    text-decoration: none !important;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background .15s, color .15s;
    border: 1px solid transparent;
}
.n8-pay__action--delete { color: #c83a4a !important; }
.n8-pay__action:hover { background: #f4f6fb; border-color: #d8dde6; }
.n8-pay__action--delete:hover { background: #fef0f2; border-color: #c83a4a; }

.n8-pay__add { margin: 18px 0 0; }
.n8-pay__add-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a2744;
    text-decoration: none;
    border-bottom: 1.5px dashed #1a2744;
    padding-bottom: 2px;
}
.n8-pay__add-link:hover { border-style: solid; }


/* ────────────────────────────────────────────────────────────────
   NEUTRALISER tout reliquat Elementor / WC theme par défaut qui
   pollue la page (au cas où des CSS Elementor restent enqueued).
   ──────────────────────────────────────────────────────────────── */
.n8-account ~ .elementor-section,
.n8-account ~ .elementor-widget { display: none !important; }
