/* ============================================================================
   INSTALL COMMUNICATION 33
   MON COMPTE — account.css
   ============================================================================ */

/*
 * Ce fichier n'est chargé que sur Mon compte. Les sélecteurs peuvent donc
 * cibler directement la structure WooCommerce sans dépendre de la classe
 * body .woocommerce-account.
 */

.site-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.entry-header,
.entry-title,
.ic33-page__header,
.ic33-page__title {
    display: none !important;
}

/*
 * La page Mon compte utilise page.php et son .ic33-container.
 * On libère uniquement le conteneur de cette page afin que le compte
 * puisse réellement occuper toute la largeur disponible.
 */
html body.woocommerce-account .ic33-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.woocommerce-account .ic33-page > .ic33-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.woocommerce-account .ic33-page__article,
html body.woocommerce-account .ic33-page__content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 20px 70px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    grid-template-areas:
        "hero hero"
        "navigation content";
    column-gap: 26px;
    row-gap: 28px;
    align-items: start;
}

.woocommerce-MyAccount-navigation {
    grid-area: navigation;
    width: 100% !important;
    max-width: 280px;
    float: none;
    margin: 0;
}

.woocommerce-MyAccount-content {
    grid-area: content;
    width: 100%;
    float: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-MyAccount-navigation li {
    margin: 0;
    padding: 0;
    border: 0;
}

.woocommerce-MyAccount-navigation li::before {
    display: none;
}

.woocommerce-MyAccount-navigation a {
    text-decoration: none;
}

/* ============================================================================
   HERO — PREMIER ÉLÉMENT / PLEINE LARGEUR
   ============================================================================ */

.ic33-account-hero {
    grid-area: hero;
    position: relative;
    width: calc(100% + 40px);
    min-height: 285px;
    margin-left: -20px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* ============================================================================
   DASHBOARD IC33
   ============================================================================ */

.ic33-account-dashboard {
    width: 100%;
    margin: 0;
    color: #102846;
    background: #fff;
}

.ic33-account-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(6, 35, 63, .97) 0%,
            rgba(8, 39, 68, .88) 38%,
            rgba(8, 39, 68, .20) 72%,
            rgba(8, 39, 68, .04) 100%
        );
}

.ic33-account-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 48px 20px;
}

.ic33-account-hero__kicker {
    display: block;
    margin-bottom: 8px;
    color: #ff8a00;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}

.ic33-account-hero h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.05;
    font-weight: 800;
}

.ic33-account-hero p {
    max-width: 700px;
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: 17px;
    line-height: 1.55;
}


/* ============================================================================
   STRUCTURE
   ============================================================================ */

.ic33-account-dashboard__inner {
    width: 100%;
    margin: 0;
    padding: 0;
}

.ic33-account-main {
    min-width: 0;
}

.ic33-account-welcome {
    margin-bottom: 25px;
}

.ic33-account-welcome__kicker {
    display: block;
    margin-bottom: 7px;
    color: #ff8a00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
}

.ic33-account-welcome h2 {
    position: relative;
    margin: 0 0 14px;
    padding-bottom: 16px;
    color: #0c2c50;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
    font-weight: 800;
}

.ic33-account-welcome h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 58px;
    height: 4px;
    background: #ff8a00;
}

.ic33-account-welcome p {
    max-width: 1050px;
    margin: 0;
    color: #536477;
    font-size: 15px;
    line-height: 1.65;
}


/* ============================================================================
   STATISTIQUES
   ============================================================================ */

.ic33-account-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}

.ic33-account-stat {
    display: flex;
    align-items: center;
    min-height: 142px;
    padding: 25px 28px;
    border: 1px solid #e2e8ef;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(16,40,70,.055);
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ic33-account-stat:hover {
    transform: translateY(-2px);
    border-color: #cbd9e8;
    box-shadow: 0 10px 28px rgba(16,40,70,.09);
}

.ic33-account-stat__icon {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    display: grid;
    place-items: center;
    margin-right: 22px;
    border-radius: 50%;
}

.ic33-account-stat--orders .ic33-account-stat__icon {
    background: #e8f2ff;
}

.ic33-account-stat--wishlist .ic33-account-stat__icon {
    background: #fff0e4;
}

.ic33-account-stat__icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ic33-account-stat--orders .ic33-account-stat__icon {
    color: #1265c5;
}

.ic33-account-stat--wishlist .ic33-account-stat__icon {
    color: #f27600;
}

.ic33-account-stat__content {
    display: flex;
    flex-direction: column;
}

.ic33-account-stat__content strong {
    color: #1a3048;
    font-size: 15px;
    font-weight: 800;
}

.ic33-account-stat__content b {
    margin: 3px 0 4px;
    color: #102846;
    font-size: 31px;
    line-height: 1;
}

.ic33-account-stat__content > span {
    color: #0966d2;
    font-size: 13px;
    font-weight: 600;
}


/* ============================================================================
   PANELS
   ============================================================================ */

.ic33-account-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(350px, .95fr);
    gap: 20px;
}

.ic33-account-panel {
    min-width: 0;
    border: 1px solid #e1e7ee;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(16,40,70,.045);
    overflow: hidden;
}

.ic33-account-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 25px;
    border-bottom: 1px solid #e8edf2;
    background: #fbfcfd;
}

.ic33-account-panel__header h3 {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0;
    color: #102846;
    font-size: 18px;
    font-weight: 800;
}

.ic33-account-panel__header > a {
    color: #0868d3;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.ic33-account-panel__header > a:hover {
    text-decoration: underline;
}

.ic33-account-panel__header-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    color: #0a3764;
}

.ic33-account-panel__header-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ============================================================================
   TABLE COMMANDES
   ============================================================================ */

.ic33-account-orders-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.ic33-account-orders-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    margin: 0;
}

.ic33-account-orders-table th,
.ic33-account-orders-table td {
    padding: 15px 12px;
    border: 0;
    border-bottom: 1px solid #edf0f4;
    text-align: left;
    vertical-align: middle;
}

.ic33-account-orders-table th {
    color: #33465b;
    background: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.ic33-account-orders-table td {
    color: #45576a;
    font-size: 13px;
}

.ic33-account-orders-table tbody tr:last-child td {
    border-bottom: 0;
}

.ic33-account-order-number {
    color: #075fc1;
    font-weight: 800;
    text-decoration: none;
}

.ic33-account-order-number:hover {
    text-decoration: underline;
}

.ic33-account-status {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.ic33-account-status--completed {
    color: #08763b;
    background: #dff6e9;
}

.ic33-account-status--processing {
    color: #0967c8;
    background: #e0efff;
}

.ic33-account-status--on-hold {
    color: #946200;
    background: #fff0c9;
}

.ic33-account-status--pending {
    color: #715700;
    background: #fff4d8;
}

.ic33-account-status--cancelled,
.ic33-account-status--failed {
    color: #b42318;
    background: #ffe1df;
}

.ic33-account-status--refunded {
    color: #5c4b9b;
    background: #eee8ff;
}

.ic33-account-order-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 75px;
    min-height: 36px;
    padding: 6px 14px;
    border: 1px solid #1970dc;
    border-radius: 6px;
    color: #0967c8;
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: .18s ease;
}

.ic33-account-order-view:hover {
    color: #fff;
    background: #0967c8;
}

.ic33-account-empty {
    padding: 35px 25px;
}

.ic33-account-empty p {
    margin: 0;
    color: #647487;
}


/* ============================================================================
   INFORMATIONS
   ============================================================================ */

.ic33-account-info-list {
    padding: 12px 25px 20px;
}

.ic33-account-info-row {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 0;
    border-bottom: 1px solid #edf0f4;
    color: #3f5267;
    font-size: 13px;
    line-height: 1.45;
}

.ic33-account-info-row:last-child {
    border-bottom: 0;
}

.ic33-account-info-row__icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: #425b75;
}

.ic33-account-info-row__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ic33-account-info-row .is-muted {
    color: #8b97a4;
}

.ic33-account-info-row a {
    color: #0967c8;
    font-weight: 700;
    text-decoration: none;
}

.ic33-account-info-row a:hover {
    text-decoration: underline;
}

.ic33-account-edit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 16px;
    border: 1px solid #146ddd;
    border-radius: 7px;
    color: #0967c8 !important;
    background: #fff;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.ic33-account-edit-button:hover {
    color: #fff !important;
    background: #0967c8;
}


/* ============================================================================
   NAVIGATION
   ============================================================================ */

.woocommerce-MyAccount-navigation {
    width: 280px;
}

.ic33-account-navigation {
    width: 100%;
    padding: 0;
}

.ic33-account-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ic33-account-navigation__item {
    margin: 0 !important;
}

.ic33-account-navigation__item a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 58px;
    padding: 0 22px;
    color: #21374f;
    background: #fff;
    border-bottom: 1px solid #edf1f5;
    font-size: 14px;
    font-weight: 650;
    transition: background .18s ease, color .18s ease;
}

.ic33-account-navigation__item:first-child a {
    border-radius: 9px 9px 0 0;
}

.ic33-account-navigation__item:last-child a {
    border-bottom: 0;
    border-radius: 0 0 9px 9px;
}

.ic33-account-navigation__item a:hover {
    color: #0967c8;
    background: #f4f8fd;
}

.ic33-account-navigation__item.is-active a {
    color: #0967c8;
    background: #eaf3ff;
}

.ic33-account-navigation__item.is-active a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ff8a00;
}

.ic33-account-navigation__item.is-logout a {
    color: #536477;
}

.ic33-account-navigation__icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.ic33-account-navigation__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ic33-account-navigation__label {
    min-width: 0;
}


/* ============================================================================
   WOOCOMMERCE ENDPOINTS
   ============================================================================ */

.woocommerce-MyAccount-content > h2:first-child,
.woocommerce-MyAccount-content > h1:first-child {
    color: #102846;
}

.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-error {
    border-radius: 8px;
}

.ic33-wishlist-account h2 {
    margin-top: 0;
    color: #102846;
}

.ic33-wishlist-account__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ic33-wishlist-account__item {
    margin: 0;
    padding: 18px;
    border: 1px solid #e1e7ee;
    border-radius: 10px;
    background: #fff;
}

.ic33-wishlist-account__item img {
    width: 100%;
    height: 180px;
    object-fit: contain;
}

.ic33-wishlist-account__item h3 {
    margin: 14px 0 8px;
    color: #102846;
    font-size: 15px;
}

.ic33-wishlist-account__price {
    color: #0967c8;
    font-weight: 800;
}


/* ============================================================================
   TOUS LES ONGLETS WOOCOMMERCE — TYPOGRAPHIE IC33
   ============================================================================ */

.woocommerce-MyAccount-content,
.woocommerce-MyAccount-content * {
    font-family: var(--ic33-font-family);
    box-sizing: border-box;
}

.woocommerce-MyAccount-content {
    color: #374151;
    font-size: 15px;
    line-height: 1.6;
}

.woocommerce-MyAccount-content h1,
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3,
.woocommerce-MyAccount-content h4 {
    color: #0c2c50;
    font-family: var(--ic33-font-heading);
    font-weight: 800;
    line-height: 1.2;
}

.woocommerce-MyAccount-content h2 {
    margin: 0 0 22px;
    font-size: clamp(24px, 2.5vw, 32px);
}

.woocommerce-MyAccount-content h3 {
    margin: 0 0 14px;
    font-size: 20px;
}

.woocommerce-MyAccount-content p,
.woocommerce-MyAccount-content address {
    color: #536477;
}

.woocommerce-MyAccount-content a {
    color: #0967c8;
    font-weight: 650;
}

.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button,
.woocommerce-MyAccount-content input[type=submit],
.woocommerce-MyAccount-content input[type=button],
.woocommerce-MyAccount-content .woocommerce-button,
.woocommerce-MyAccount-content .woocommerce-Button,
.woocommerce-MyAccount-content .wc-forward {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid #146ddd !important;
    border-radius: 7px !important;
    color: #0967c8 !important;
    background: #fff !important;
    box-shadow: none !important;
    font-family: var(--ic33-font-family) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content button:hover,
.woocommerce-MyAccount-content input[type=submit]:hover,
.woocommerce-MyAccount-content .woocommerce-button:hover,
.woocommerce-MyAccount-content .woocommerce-Button:hover,
.woocommerce-MyAccount-content .wc-forward:hover {
    color: #fff !important;
    background: #0967c8 !important;
    border-color: #0967c8 !important;
}

.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-error {
    margin: 0 0 22px;
    padding: 16px 18px 16px 48px;
    border: 1px solid #dce6f0;
    border-top: 3px solid #f58220;
    border-radius: 8px;
    color: #374151;
    background: #f8fafc;
    font-family: var(--ic33-font-family);
}

.woocommerce-MyAccount-content form .form-row {
    margin-bottom: 18px;
}

.woocommerce-MyAccount-content form .form-row label {
    display: block;
    margin-bottom: 7px;
    color: #21374f;
    font-family: var(--ic33-font-family);
    font-size: 13px;
    font-weight: 750;
}

.woocommerce-MyAccount-content input[type=text],
.woocommerce-MyAccount-content input[type=email],
.woocommerce-MyAccount-content input[type=tel],
.woocommerce-MyAccount-content input[type=password],
.woocommerce-MyAccount-content input[type=number],
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid #d7e0e9;
    border-radius: 7px;
    color: #21374f;
    background: #fff;
    font-family: var(--ic33-font-family);
    font-size: 14px;
    box-shadow: none;
}

.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus {
    border-color: #146ddd;
    outline: none;
    box-shadow: 0 0 0 3px rgba(20,109,221,.10);
}

/* Commandes */
.woocommerce-MyAccount-content .woocommerce-orders-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    background: #fff;
}

.woocommerce-MyAccount-content .woocommerce-orders-table th {
    padding: 14px 12px;
    color: #33465b;
    background: #f8fafc;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.woocommerce-MyAccount-content .woocommerce-orders-table td {
    padding: 15px 12px;
    color: #45576a;
    font-size: 13px;
    border-bottom: 1px solid #edf0f4;
}

/* Adresses */
.woocommerce-MyAccount-content .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.woocommerce-MyAccount-content .woocommerce-Address,
.woocommerce-MyAccount-content .woocommerce-PaymentMethod {
    padding: 22px;
    border: 1px solid #e1e7ee;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(16,40,70,.045);
}

.woocommerce-MyAccount-content .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title h2 {
    margin: 0;
    font-size: 18px;
}

.woocommerce-MyAccount-content .woocommerce-Address-title .edit {
    color: #0967c8;
    font-size: 12px;
    font-weight: 800;
}

.woocommerce-MyAccount-content .woocommerce-Address address {
    margin: 0;
    color: #536477;
    font-size: 14px;
    line-height: 1.7;
}

/* Moyens de paiement */
.woocommerce-MyAccount-content .woocommerce-PaymentMethods {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.woocommerce-MyAccount-content .woocommerce-PaymentMethods li {
    margin: 0 0 12px;
    padding: 18px 20px;
    border: 1px solid #e1e7ee;
    border-radius: 9px;
    background: #fff;
}

/* Détails du compte */
.woocommerce-MyAccount-content fieldset {
    margin: 28px 0;
    padding: 22px;
    border: 1px solid #e1e7ee;
    border-radius: 10px;
}

.woocommerce-MyAccount-content fieldset legend {
    padding: 0 8px;
    color: #0c2c50;
    font-family: var(--ic33-font-heading);
    font-size: 17px;
    font-weight: 800;
}

/* Favoris */
.ic33-wishlist-account {
    width: 100%;
}

.ic33-wishlist-account__item {
    font-family: var(--ic33-font-family);
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 1100px) {

    .woocommerce {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .ic33-account-lower-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 800px) {

    .woocommerce {
        grid-template-columns: 1fr;
        grid-template-areas:
            "hero"
            "navigation"
            "content";
        padding-inline: 15px;
    }

    .ic33-account-hero {
        width: calc(100% + 30px);
        margin-left: -15px;
    }

    .woocommerce-MyAccount-navigation {
        width: 100% !important;
        max-width: none;
        float: none;
        margin-bottom: 0;
    }

    .woocommerce-MyAccount-content {
        width: 100%;
        float: none;
    }

    .ic33-account-dashboard__inner,
    .ic33-account-hero__inner {
        width: 100%;
    }

    .ic33-account-hero {
        min-height: 205px;
    }

    .ic33-account-hero h1 {
        font-size: 38px;
    }

    .ic33-account-stats {
        grid-template-columns: 1fr;
    }

    .ic33-account-panel__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ic33-account-panel__header > a {
        white-space: normal;
    }

}

@media (max-width: 600px) {

    .woocommerce-MyAccount-content .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

    .ic33-account-dashboard__inner {
        padding-top: 28px;
        padding-bottom: 45px;
    }

    .ic33-account-hero__inner {
        padding: 34px 0;
    }

    .ic33-account-hero h1 {
        font-size: 34px;
    }

    .ic33-account-hero p {
        font-size: 15px;
    }

    .ic33-account-stat {
        min-height: 125px;
        padding: 20px;
    }

    .ic33-account-stat__icon {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
        margin-right: 16px;
    }

    .ic33-account-stat__content b {
        font-size: 28px;
    }

    .ic33-account-orders-table {
        min-width: 0;
    }

    .ic33-account-orders-table thead {
        display: none;
    }

    .ic33-account-orders-table,
    .ic33-account-orders-table tbody,
    .ic33-account-orders-table tr,
    .ic33-account-orders-table td {
        display: block;
        width: 100%;
    }

    .ic33-account-orders-table tr {
        padding: 13px 0;
        border-bottom: 1px solid #edf0f4;
    }

    .ic33-account-orders-table tbody tr:last-child {
        border-bottom: 0;
    }

    .ic33-account-orders-table td {
        display: flex;
        justify-content: space-between;
        gap: 15px;
        padding: 7px 18px;
        border: 0;
        text-align: right;
    }

    .ic33-account-orders-table td::before {
        content: attr(data-label);
        color: #738194;
        font-weight: 700;
        text-align: left;
    }

    .ic33-account-order-view {
        min-width: 90px;
    }

    .ic33-wishlist-account__grid {
        grid-template-columns: 1fr;
    }

}

/* ============================================================================
   MON COMPTE — BLOCS DU DESSUS — PLEINE LARGEUR
   On libère les conteneurs Storefront qui enfermaient la zone Mon compte.
   Le footer existant n'est pas modifié.
   ============================================================================ */

html body.woocommerce-account .site-content,
html body.woocommerce-account .content-area,
html body.woocommerce-account #primary,
html body.woocommerce-account .site-main,
html body.woocommerce-account .ic33-page,
html body.woocommerce-account .ic33-page > .ic33-container,
html body.woocommerce-account .ic33-page__article,
html body.woocommerce-account .ic33-page__content {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

html body.woocommerce-account .woocommerce {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* ============================================================================
   FOOTER — MON COMPTE UNIQUEMENT
   Le footer reste inchangé globalement : cette règle l'étend uniquement
   sur la page Mon compte, sans modifier footer.css.
============================================================================ */

.woocommerce-account .ic33-footer {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}


/* ============================================================================
   MON COMPTE — HERO + BLOCS — VRAIE PLEINE LARGEUR
   ============================================================================ */

html body.woocommerce-account .ic33-account-dashboard,
html body.woocommerce-account .ic33-account-hero {
    width: 100vw !important;
    max-width: none !important;
    min-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

html body.woocommerce-account .ic33-account-dashboard__inner {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

html body.woocommerce-account .ic33-account-hero__inner {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

/* La zone WooCommerce qui contient navigation + contenu */
html body.woocommerce-account .woocommerce {
    width: 100vw !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

/* Les deux colonnes utilisent toute la largeur disponible */
html body.woocommerce-account .woocommerce-MyAccount-navigation {
    box-sizing: border-box !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content {
    min-width: 0 !important;
    box-sizing: border-box !important;
}


/* ============================================================================
   CORRECTION — SUPPRESSION DE LA SUPERPOSITION NAVIGATION / CONTENU
   ============================================================================ */

/* La grille précédente faisait chevaucher la navigation et le contenu.
   On revient à une structure simple : hero pleine largeur, puis
   navigation à gauche + contenu à droite. */

html body.woocommerce-account .woocommerce {
    display: block !important;
    width: 100vw !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    padding: 0 20px 70px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Hero : ligne indépendante */
html body.woocommerce-account .woocommerce > .ic33-account-hero,
html body.woocommerce-account .ic33-account-hero {
    display: flex !important;
    clear: both !important;
    width: 100vw !important;
    max-width: none !important;
    min-width: 100vw !important;
    margin-left: -20px !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* Navigation : colonne gauche */
html body.woocommerce-account .woocommerce-MyAccount-navigation {
    display: block !important;
    float: left !important;
    width: 280px !important;
    max-width: 280px !important;
    min-width: 280px !important;
    margin: 0 26px 0 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    clear: none !important;
}

/* Contenu : colonne droite, sans chevauchement */
html body.woocommerce-account .woocommerce-MyAccount-content {
    display: block !important;
    float: none !important;
    width: calc(100% - 306px) !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 0 0 306px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    clear: none !important;
}

/* Empêche le contenu du dashboard de passer derrière la navigation */
html body.woocommerce-account .ic33-account-dashboard__inner {
    clear: both !important;
    overflow: visible !important;
}

/* Mobile : une seule colonne */
@media (max-width: 800px) {
    html body.woocommerce-account .woocommerce {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    html body.woocommerce-account .woocommerce-MyAccount-navigation {
        float: none !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 0 20px !important;
    }

    html body.woocommerce-account .woocommerce-MyAccount-content {
        width: 100% !important;
        margin: 0 !important;
    }

    html body.woocommerce-account .woocommerce > .ic33-account-hero,
    html body.woocommerce-account .ic33-account-hero {
        width: 100vw !important;
        min-width: 100vw !important;
        margin-left: -15px !important;
    }
}


/* ============================================================================
   CORRECTION FINALE — NAVIGATION À GAUCHE / DASHBOARD À DROITE
   ============================================================================ */

html body.woocommerce-account .woocommerce {
    display: grid !important;
    grid-template-columns: 280px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
        "hero hero"
        "navigation content" !important;

    column-gap: 26px !important;
    row-gap: 28px !important;
    align-items: start !important;

    width: 100vw !important;
    max-width: none !important;
    min-width: 0 !important;

    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;

    padding: 0 20px 70px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Hero : première ligne, deux colonnes */
html body.woocommerce-account .woocommerce > .ic33-account-hero,
html body.woocommerce-account .woocommerce .ic33-account-hero {
    grid-area: hero !important;
    display: flex !important;

    width: calc(100% + 40px) !important;
    min-width: calc(100% + 40px) !important;
    max-width: none !important;

    margin-left: -20px !important;
    margin-right: 0 !important;

    box-sizing: border-box !important;
}

/* Navigation : colonne gauche */
html body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation {
    grid-area: navigation !important;

    display: block !important;
    float: none !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 280px !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

/* Dashboard : colonne droite */
html body.woocommerce-account .woocommerce .woocommerce-MyAccount-content {
    grid-area: content !important;

    display: block !important;
    float: none !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}

/* Le dashboard doit remplir toute la colonne droite */
html body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .ic33-account-dashboard,
html body.woocommerce-account .woocommerce .woocommerce-MyAccount-content .ic33-account-dashboard__inner {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* Sur mobile : navigation puis dashboard */
@media (max-width: 800px) {
    html body.woocommerce-account .woocommerce {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "hero"
            "navigation"
            "content" !important;
        column-gap: 0 !important;
        row-gap: 20px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    html body.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation {
        max-width: none !important;
        width: 100% !important;
    }

    html body.woocommerce-account .woocommerce .woocommerce-MyAccount-content {
        width: 100% !important;
    }

    html body.woocommerce-account .woocommerce > .ic33-account-hero,
    html body.woocommerce-account .woocommerce .ic33-account-hero {
        width: calc(100% + 30px) !important;
        min-width: calc(100% + 30px) !important;
        margin-left: -15px !important;
    }
}
