/* ==========================================================
   PURESCREEN - MON COMPTE
========================================================== */

body.woocommerce-account {
    background: #121212;
}


/* ==========================================================
   WRAPPER PRINCIPAL WOOCOMMERCE
========================================================== */

body.woocommerce-account
.woocommerce {
    display: grid;
    grid-template-columns: 270px minmax(0, 930px);
    grid-template-areas:
        "header header"
        "sidebar content";
    column-gap: 34px;
    row-gap: 34px;
    justify-content: center;

    width: min(1280px, calc(100% - 80px));
    min-height: 720px;

    margin: 0 auto;
    padding: 58px 0 100px;
}


/* ==========================================================
   EN-TÊTE GLOBAL
========================================================== */

.ps-account-page-header {
    grid-area: header;
    width: 100%;
    margin-bottom: 18px;
}


/* ==========================================================
   FIL D'ARIANE
========================================================== */

.ps-account-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    margin: 0 0 48px;

    color: #999999;

    font-size: 14px;
    line-height: 1.5;
}

.ps-account-breadcrumb a {
    color: #ffffff;
    font-weight: 700;
}

.ps-account-breadcrumb a:hover {
    color: #ff0000;
}


/* ==========================================================
   TITRE PAGE
========================================================== */

.ps-account-page-heading {
    text-align: center;
}

.ps-account-page-heading__kicker {
    display: block;

    margin-bottom: 12px;

    color: #ff0000;

    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;

    text-transform: uppercase;
}

.ps-account-page-heading h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.05;

    text-transform: uppercase;
}

.ps-account-page-heading__line {
    display: block;

    width: 82px;
    height: 4px;

    margin: 22px auto 20px;

    background: #ff0000;
    border-radius: 20px;

    box-shadow:
        0 0 14px rgba(255, 0, 0, .4);
}

.ps-account-page-heading p {
    max-width: 720px;

    margin: 0 auto;

    color: #bdbdbd;

    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================
   SIDEBAR
========================================================== */

.ps-account-sidebar {
    grid-area: sidebar;
    align-self: start;

    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;

    background: #181818;

    border: 1px solid #333333;
    border-radius: 14px;

    box-shadow:
        0 18px 40px rgba(0, 0, 0, .4);
}


/* ==========================================================
   IDENTITÉ
========================================================== */

.ps-account-sidebar__identity {
    display: flex;
    align-items: center;

    gap: 15px;

    padding: 24px;

    border-bottom: 1px solid #333333;

    background:
        linear-gradient(
            135deg,
            #202020,
            #151515
        );
}

.ps-account-sidebar__avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 50px;

    width: 50px;
    height: 50px;

    border: 2px solid #ff0000;
    border-radius: 50%;

    color: #ff0000;

    font-size: 19px;
}

.ps-account-sidebar__user {
    min-width: 0;
}

.ps-account-sidebar__user span {
    display: block;

    margin-bottom: 3px;

    color: #888888;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.ps-account-sidebar__user strong {
    display: block;

    overflow: hidden;

    color: #ffffff;

    font-size: 15px;
    font-weight: 900;

    text-overflow: ellipsis;
    white-space: nowrap;
}


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

body.woocommerce-account
.woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
}

.ps-account-navigation ul {
    margin: 0;
    padding: 12px;

    list-style: none;
}

.ps-account-navigation li {
    margin: 0;
    padding: 0;
}

.ps-account-navigation a {
    display: flex;
    align-items: center;

    gap: 13px;

    min-height: 50px;

    padding: 10px 13px;

    border-radius: 7px;

    color: #d4d4d4;

    font-size: 14px;
    font-weight: 700;

    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.ps-account-navigation a:hover {
    background: #222222;
    color: #ffffff;

    transform: translateX(3px);
}

.ps-account-navigation
.is-active
a {
    background: #e60000;

    color: #ffffff;

    box-shadow:
        0 0 18px rgba(230, 0, 0, .25);
}

.ps-account-navigation
.woocommerce-MyAccount-navigation-link--customer-logout
a {
    margin-top: 8px;

    border-top: 1px solid #333333;
    border-radius: 0;

    color: #ff5757;
}

.ps-account-navigation__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;

    color: #ff0000;
}

.ps-account-navigation
.is-active
.ps-account-navigation__icon {
    color: #ffffff;
}

.ps-account-navigation__label {
    flex: 1;
}

.ps-account-navigation__arrow {
    color: #666666;

    font-size: 10px;
}


/* ==========================================================
   CONTENU WOOCOMMERCE
========================================================== */

body.woocommerce-account
.woocommerce-MyAccount-content {
    grid-area: content;

    float: none;
    clear: none;

    width: 100%;
    max-width: 930px;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* ==========================================================
   PURESCREEN - PAGES COMPTE CENTRÉES
   Dashboard + Mes commandes
========================================================== */

body.woocommerce-account
.woocommerce:has(.ps-account-dashboard),
body.woocommerce-account
.woocommerce:has(.ps-account-orders-page) {
    grid-template-columns: minmax(0, 930px);
    grid-template-areas:
        "header"
        "content";
    justify-content: center;
}

body.woocommerce-account
.woocommerce:has(.ps-account-dashboard)
.ps-account-sidebar,
body.woocommerce-account
.woocommerce:has(.ps-account-orders-page)
.ps-account-sidebar {
    display: none;
}

body.woocommerce-account
.woocommerce:has(.ps-account-dashboard)
.woocommerce-MyAccount-content,
body.woocommerce-account
.woocommerce:has(.ps-account-orders-page)
.woocommerce-MyAccount-content,
body.woocommerce-account
.woocommerce:has(.ps-account-dashboard)
.ps-account-dashboard,
body.woocommerce-account
.woocommerce:has(.ps-account-orders-page)
.ps-account-orders-page {
    width: 100%;
    max-width: 930px;
    margin: 0 auto;
}


/* ==========================================================
   BIENVENUE
========================================================== */

.ps-account-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 24px;
    padding: 30px 32px;

    background: #181818;

    border: 1px solid #333333;
    border-radius: 14px;
}

.ps-account-section-kicker {
    display: block;

    margin-bottom: 7px;

    color: #ff0000;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.ps-account-welcome h2 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 31px;
    font-weight: 900;
}

.ps-account-welcome p {
    max-width: 650px;

    margin: 0;

    color: #aaaaaa;

    font-size: 14px;
    line-height: 1.7;
}

.ps-account-welcome__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 74px;

    width: 74px;
    height: 74px;

    border: 2px solid #ff0000;
    border-radius: 50%;

    color: #ff0000;

    font-size: 27px;
}


/* ==========================================================
   CARTES DASHBOARD
========================================================== */

.ps-account-dashboard-cards {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 30px;
}

.ps-account-dashboard-card {
    display: flex;
    align-items: center;

    gap: 16px;

    min-height: 128px;

    padding: 20px;

    background: #181818;

    border: 1px solid #333333;
    border-radius: 11px;

    transition:
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.ps-account-dashboard-card:hover {
    transform: translateY(-4px);

    border-color: #ff0000;

    box-shadow:
        0 14px 30px rgba(0, 0, 0, .4);
}

.ps-account-dashboard-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 46px;

    width: 46px;
    height: 46px;

    border: 1px solid #ff0000;
    border-radius: 50%;

    color: #ff0000;

    font-size: 17px;
}

.ps-account-dashboard-card div {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.ps-account-dashboard-card div > span {
    color: #ffffff;

    font-size: 11px;
    font-weight: 900;
}

.ps-account-dashboard-card strong {
    margin: 4px 0;

    color: #ff0000;

    font-size: 24px;
    line-height: 1;
}

.ps-account-dashboard-card small {
    color: #888888;

    font-size: 11px;
}


/* ==========================================================
   TITRES DE CONTENU
========================================================== */

.ps-account-content-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 22px;
}

.ps-account-content-heading span {
    display: block;

    margin-bottom: 5px;

    color: #ff0000;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.3px;
}

.ps-account-content-heading h2 {
    margin: 0;

    color: #ffffff;

    font-size: 28px;
    font-weight: 900;
}

.ps-account-content-heading
.ps-account-content-heading__line {
    width: 55px;
    height: 3px;

    margin-top: 12px;
    margin-bottom: 0;

    background: #ff0000;
}


/* ==========================================================
   DERNIÈRES COMMANDES
========================================================== */

.ps-account-recent-orders {
    padding: 28px;

    background: #181818;

    border: 1px solid #333333;
    border-radius: 14px;
}

.ps-account-small-button,
.ps-account-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0 18px;

    border-radius: 5px;

    background: #e60000;

    color: #ffffff;

    font-size: 12px;
    font-weight: 900;

    text-transform: uppercase;

    transition:
        background .2s ease,
        box-shadow .2s ease;
}

.ps-account-small-button:hover,
.ps-account-primary-button:hover {
    background: #ff1a1a;

    box-shadow:
        0 0 20px rgba(255, 0, 0, .35);

    color: #ffffff;
}


/* ==========================================================
   APERÇU COMMANDE
========================================================== */

.ps-account-orders-preview {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.ps-account-order-preview {
    display: grid;

    grid-template-columns:
        1.1fr
        1fr
        1fr
        1fr
        auto;

    align-items: center;

    gap: 18px;

    padding: 17px 18px;

    background: #111111;

    border: 1px solid #303030;
    border-radius: 8px;
}

.ps-account-order-preview__number span,
.ps-account-order-preview__data span {
    display: block;

    margin-bottom: 4px;

    color: #777777;

    font-size: 9px;
    font-weight: 900;

    text-transform: uppercase;
}

.ps-account-order-preview__number strong,
.ps-account-order-preview__data strong {
    color: #ffffff;

    font-size: 13px;
}

.ps-account-status {
    color: #ffffff;
}

.ps-account-price {
    color: #ff0000;
}

.ps-account-order-preview__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 65px;
    min-height: 36px;

    padding: 0 13px;

    border-radius: 4px;

    background: #e60000;

    color: #ffffff;

    font-size: 10px;
    font-weight: 900;
}


/* ==========================================================
   PAGE COMMANDES
========================================================== */

.ps-account-orders-page {
    padding: 28px;

    background: #181818;

    border: 1px solid #333333;
    border-radius: 14px;
}

.ps-account-orders-table-wrapper {
    overflow-x: auto;

    border: 1px solid #333333;
    border-radius: 9px;
}

body.woocommerce-account
table.ps-account-orders-table {
    width: 100%;

    margin: 0;

    border: 0;
    border-collapse: collapse;

    background: #111111;

    color: #ffffff;
}

body.woocommerce-account
table.ps-account-orders-table thead {
    background: #e60000;
}

body.woocommerce-account
table.ps-account-orders-table th {
    padding: 15px 17px;

    border: 0;

    color: #ffffff;

    font-size: 11px;
    font-weight: 900;

    text-align: left;
}

body.woocommerce-account
table.ps-account-orders-table td {
    padding: 17px;

    border: 0;
    border-top: 1px solid #303030;

    color: #d0d0d0;

    font-size: 13px;

    vertical-align: middle;
}

.ps-account-orders-table th a {
    color: #ffffff;
    font-weight: 900;
}

.ps-account-orders-table th a:hover {
    color: #ff0000;
}

.ps-account-order-status {
    display: inline-flex;

    padding: 6px 10px;

    border: 1px solid #444444;
    border-radius: 20px;

    background: #202020;

    color: #ffffff;

    font-size: 10px;
    font-weight: 800;
}

.ps-account-order-status--completed {
    border-color: #00a854;
    color: #4fe08f;
}

.ps-account-order-status--processing {
    border-color: #e6a400;
    color: #ffca46;
}

.ps-account-order-status--cancelled,
.ps-account-order-status--failed {
    border-color: #ff0000;
    color: #ff6565;
}

.ps-account-order-total {
    display: block;

    color: #ffffff;
}

.ps-account-orders-table td small {
    display: block;

    margin-top: 3px;

    color: #777777;

    font-size: 10px;
}

.ps-account-order-actions {
    white-space: nowrap;
}

.ps-account-order-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;

    margin: 2px;
    padding: 0 12px;

    border-radius: 4px;

    background: #e60000;

    color: #ffffff;

    font-size: 10px;
    font-weight: 900;

    text-transform: uppercase;
}

.ps-account-order-action:hover {
    background: #ff1a1a;
    color: #ffffff;
}


/* ==========================================================
   EMPTY STATE
========================================================== */

.ps-account-empty-state {
    padding: 45px 25px;

    text-align: center;

    background: #111111;

    border: 1px solid #303030;
    border-radius: 10px;
}

.ps-account-empty-state__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 68px;
    height: 68px;

    margin: 0 auto 18px;

    border: 2px solid #ff0000;
    border-radius: 50%;

    color: #ff0000;

    font-size: 24px;
}

.ps-account-empty-state h3 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 20px;
    font-weight: 900;
}

.ps-account-empty-state p {
    margin: 0 0 20px;

    color: #999999;
}


/* ==========================================================
   PAGINATION
========================================================== */

.ps-account-pagination {
    display: flex;
    justify-content: space-between;

    gap: 15px;

    margin-top: 20px;
}

.ps-account-pagination__button {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 11px 15px;

    border: 1px solid #444444;
    border-radius: 5px;

    background: #202020;

    color: #ffffff;

    font-size: 11px;
    font-weight: 900;
}

/* ==========================================================
   PAGE MES ADRESSES
========================================================== */

.ps-account-addresses-page {
    width: 100%;
    max-width: 930px;
    margin: 0 auto;

    padding: 28px;

    background: #181818;

    border: 1px solid #333333;
    border-radius: 14px;
}

.ps-account-addresses-intro {
    max-width: 760px;

    margin: 0 0 28px;

    color: #a9a9a9;

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================
   GRILLE ADRESSES
========================================================== */

.ps-account-addresses-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


/* ==========================================================
   CARTE ADRESSE
========================================================== */

.ps-account-address-card {
    overflow: hidden;

    background: #111111;

    border: 1px solid #333333;
    border-radius: 10px;

    transition:
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.ps-account-address-card:hover {
    transform: translateY(-3px);

    border-color: #555555;

    box-shadow:
        0 14px 30px rgba(0, 0, 0, .3);
}


/* ==========================================================
   HEADER CARTE
========================================================== */

.ps-account-address-card__header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding: 20px;

    border-bottom: 1px solid #333333;

    background: #161616;
}

.ps-account-address-card__title {
    display: flex;

    align-items: center;

    gap: 14px;

    min-width: 0;
}


/* ==========================================================
   ICÔNE
========================================================== */

.ps-account-address-card__icon {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    border: 1px solid #ff0000;
    border-radius: 50%;

    color: #ff0000;

    font-size: 16px;
}


/* ==========================================================
   TITRES
========================================================== */

.ps-account-address-card__title > div > span {
    display: block;

    margin-bottom: 3px;

    color: #ff0000;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.2px;
}

.ps-account-address-card__title h3 {
    margin: 0;

    color: #ffffff;

    font-size: 17px;
    font-weight: 900;
    line-height: 1.2;
}


/* ==========================================================
   BOUTON MODIFIER
========================================================== */

.ps-account-address-card__edit {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    flex: 0 0 auto;

    min-height: 36px;

    padding: 0 13px;

    border-radius: 4px;

    background: #e60000;

    color: #ffffff;

    font-size: 10px;
    font-weight: 900;

    text-transform: uppercase;

    transition:
        background .2s ease,
        box-shadow .2s ease;
}

.ps-account-address-card__edit:hover {
    background: #ff1a1a;

    color: #ffffff;

    box-shadow:
        0 0 18px rgba(255, 0, 0, .3);
}


/* ==========================================================
   CONTENU ADRESSE
========================================================== */

.ps-account-address-card__body {
    min-height: 190px;

    padding: 24px;
}

.ps-account-address-card__body address {
    margin: 0;

    color: #ffffff;

    font-size: 14px;
    line-height: 1.9;

    font-style: normal;
}


/* ==========================================================
   ADRESSE VIDE
========================================================== */

.ps-account-address-card__empty {
    display: flex;

    align-items: center;

    gap: 12px;

    color: #888888;
}

.ps-account-address-card__empty i {
    color: #ff0000;
}

.ps-account-address-card__empty p {
    margin: 0;

    font-size: 13px;
}


/* ==========================================================
   CENTRAGE PAGE ADRESSES
========================================================== */

body.woocommerce-account
.woocommerce:has(.ps-account-addresses-page) {
    grid-template-columns: minmax(0, 930px);

    grid-template-areas:
        "header"
        "content";

    justify-content: center;
}

body.woocommerce-account
.woocommerce:has(.ps-account-addresses-page)
.ps-account-sidebar {
    display: none;
}

body.woocommerce-account
.woocommerce:has(.ps-account-addresses-page)
.woocommerce-MyAccount-content {
    width: 100%;
    max-width: 930px;

    margin: 0 auto;
}


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

@media (max-width: 760px) {

    .ps-account-addresses-grid {
        grid-template-columns: 1fr;
    }

    .ps-account-address-card__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .ps-account-address-card__edit {
        width: 100%;
    }

}


/* ==========================================================
   PAGE MOYENS DE PAIEMENT
========================================================== */

.ps-account-payments-page {
    width: 100%;
    max-width: 930px;

    margin: 0 auto;
    padding: 28px;

    background: #181818;

    border: 1px solid #333333;
    border-radius: 14px;
}


/* ==========================================================
   INTRO
========================================================== */

.ps-account-payments-intro {
    max-width: 760px;

    margin: 0 0 28px;

    color: #a9a9a9;

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================
   LISTE DES MOYENS DE PAIEMENT
========================================================== */

.ps-account-payment-methods {
    display: flex;
    flex-direction: column;

    gap: 14px;
}


/* ==========================================================
   CARTE PAIEMENT
========================================================== */

.ps-account-payment-card {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 18px;

    padding: 20px;

    background: #111111;

    border: 1px solid #333333;
    border-radius: 10px;

    transition:
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.ps-account-payment-card:hover {
    transform: translateY(-2px);

    border-color: #555555;

    box-shadow:
        0 12px 26px rgba(0, 0, 0, .28);
}

.ps-account-payment-card.is-default {
    border-color: #555555;
}


/* ==========================================================
   ICÔNE
========================================================== */

.ps-account-payment-card__icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    border: 1px solid #ff0000;
    border-radius: 50%;

    color: #ff0000;

    font-size: 18px;
}


/* ==========================================================
   CONTENU
========================================================== */

.ps-account-payment-card__label {
    display: block;

    margin-bottom: 4px;

    color: #ff0000;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.2px;
}

.ps-account-payment-card__content h3 {
    margin: 0 0 5px;

    color: #ffffff;

    font-size: 17px;
    font-weight: 900;
}

.ps-account-payment-card__content p {
    margin: 0;

    color: #888888;

    font-size: 12px;
}

.ps-account-payment-card__content p strong {
    color: #ffffff;
}


/* ==========================================================
   ACTIONS
========================================================== */

.ps-account-payment-card__actions {
    display: flex;

    flex-wrap: wrap;
    justify-content: flex-end;

    gap: 8px;
}

.ps-account-payment-action {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 34px;

    padding: 0 12px;

    border-radius: 4px;

    background: #202020;

    border: 1px solid #444444;

    color: #ffffff;

    font-size: 10px;
    font-weight: 900;

    text-transform: uppercase;
}

.ps-account-payment-action:hover {
    border-color: #ff0000;

    color: #ffffff;
}

.ps-account-payment-action--delete {
    background: #e60000;

    border-color: #e60000;
}

.ps-account-payment-action--delete:hover {
    background: #ff1a1a;
}


/* ==========================================================
   ÉTAT VIDE
========================================================== */

.ps-account-payment-empty {
    padding: 48px 25px;

    text-align: center;

    background: #111111;

    border: 1px solid #333333;
    border-radius: 10px;
}

.ps-account-payment-empty__icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 68px;
    height: 68px;

    margin: 0 auto 18px;

    border: 2px solid #ff0000;
    border-radius: 50%;

    color: #ff0000;

    font-size: 24px;
}

.ps-account-payment-empty h3 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 21px;
    font-weight: 900;
}

.ps-account-payment-empty p {
    margin: 0 auto 18px;

    color: #999999;

    font-size: 13px;
    line-height: 1.6;
}

.ps-account-payment-empty__security {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;
}

.ps-account-payment-empty__security i {
    color: #ff0000;
}


/* ==========================================================
   AJOUTER UN MOYEN
========================================================== */

.ps-account-payment-add {
    display: flex;

    justify-content: center;

    margin-top: 22px;
}

.ps-account-payment-add
.ps-account-primary-button {
    gap: 9px;
}


/* ==========================================================
   CENTRAGE PAGE PAIEMENTS
========================================================== */

body.woocommerce-account
.woocommerce:has(.ps-account-payments-page) {
    grid-template-columns: minmax(0, 930px);

    grid-template-areas:
        "header"
        "content";

    justify-content: center;
}

body.woocommerce-account
.woocommerce:has(.ps-account-payments-page)
.ps-account-sidebar {
    display: none;
}

body.woocommerce-account
.woocommerce:has(.ps-account-payments-page)
.woocommerce-MyAccount-content {
    width: 100%;
    max-width: 930px;

    margin: 0 auto;
}


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

@media (max-width: 700px) {

    .ps-account-payment-card {
        grid-template-columns: auto 1fr;
    }

    .ps-account-payment-card__actions {
        grid-column: 1 / -1;

        justify-content: flex-start;
    }

}


/* ==========================================================
   PAGE MON PROFIL
========================================================== */

.ps-account-profile-page {
    width: 100%;
    max-width: 930px;

    margin: 0 auto;
    padding: 28px;

    background: #181818;

    border: 1px solid #333333;
    border-radius: 14px;
}


/* ==========================================================
   INTRO
========================================================== */

.ps-account-profile-intro {
    max-width: 760px;

    margin: 0 0 28px;

    color: #a9a9a9;

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================
   FORMULAIRE
========================================================== */

.ps-account-profile-form {
    display: flex;
    flex-direction: column;

    gap: 22px;
}


/* ==========================================================
   SECTIONS
========================================================== */

.ps-account-profile-section {
    overflow: hidden;

    background: #111111;

    border: 1px solid #333333;
    border-radius: 10px;
}


/* ==========================================================
   HEADER SECTION
========================================================== */

.ps-account-profile-section__header {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 20px 22px;

    background: #161616;

    border-bottom: 1px solid #333333;
}


.ps-account-profile-section__icon {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    border: 1px solid #ff0000;
    border-radius: 50%;

    color: #ff0000;

    font-size: 16px;
}


.ps-account-profile-section__header
> div > span {
    display: block;

    margin-bottom: 3px;

    color: #ff0000;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.2px;
}


.ps-account-profile-section__header h3 {
    margin: 0;

    color: #ffffff;

    font-size: 17px;
    font-weight: 900;
}


/* ==========================================================
   CHAMPS
========================================================== */

.ps-account-profile-fields {
    display: flex;
    flex-direction: column;

    gap: 20px;

    padding: 24px;
}


.ps-account-profile-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


.ps-account-profile-field {
    display: flex;
    flex-direction: column;

    gap: 7px;
}


.ps-account-profile-field label {
    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
}


.ps-account-profile-field label strong {
    color: #ff0000;
}


/* ==========================================================
   INPUTS
========================================================== */

body.woocommerce-account
.ps-account-profile-field
input.input-text {
    width: 100%;

    min-height: 48px;

    margin: 0;
    padding: 11px 14px;

    border: 1px solid #444444;
    border-radius: 5px;

    outline: none;

    background: #0d0d0d;

    color: #ffffff;

    font-size: 13px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


body.woocommerce-account
.ps-account-profile-field
input.input-text:focus {
    border-color: #ff0000;

    background: #101010;

    box-shadow:
        0 0 0 3px rgba(255, 0, 0, .10);
}


/* ==========================================================
   TEXTE D'AIDE
========================================================== */

.ps-account-profile-help {
    color: #777777;

    font-size: 11px;
    line-height: 1.5;
}


/* ==========================================================
   FOOTER FORMULAIRE
========================================================== */

.ps-account-profile-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 2px;
}


.ps-account-profile-required {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #777777;

    font-size: 11px;
}


.ps-account-profile-required i {
    color: #ff0000;
}


/* ==========================================================
   BOUTON ENREGISTRER
========================================================== */

body.woocommerce-account
.ps-account-profile-submit {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 46px;

    padding: 0 22px;

    border: 0;
    border-radius: 5px;

    background: #e60000;

    color: #ffffff;

    font-size: 12px;
    font-weight: 900;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}


body.woocommerce-account
.ps-account-profile-submit:hover {
    background: #ff1a1a;

    color: #ffffff;

    box-shadow:
        0 0 20px rgba(255, 0, 0, .35);

    transform: translateY(-1px);
}


/* ==========================================================
   CENTRAGE PAGE MON PROFIL
========================================================== */

body.woocommerce-account
.woocommerce:has(.ps-account-profile-page) {
    grid-template-columns: minmax(0, 930px);

    grid-template-areas:
        "header"
        "content";

    justify-content: center;
}


body.woocommerce-account
.woocommerce:has(.ps-account-profile-page)
.ps-account-sidebar {
    display: none;
}


body.woocommerce-account
.woocommerce:has(.ps-account-profile-page)
.woocommerce-MyAccount-content {
    width: 100%;
    max-width: 930px;

    margin: 0 auto;
}


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

@media (max-width: 700px) {

    .ps-account-profile-grid {
        grid-template-columns: 1fr;
    }


    .ps-account-profile-footer {
        align-items: stretch;
        flex-direction: column;
    }


    body.woocommerce-account
    .ps-account-profile-submit {
        width: 100%;
    }

}


/* ==========================================================
   PAGE DÉTAIL COMMANDE
========================================================== */

.ps-account-view-order-page {
    width: 100%;
    max-width: 930px;

    margin: 0 auto;
    padding: 28px;

    background: #181818;

    border: 1px solid #333333;
    border-radius: 14px;
}


/* ==========================================================
   BOUTON RETOUR
========================================================== */

.ps-account-view-order-page
.ps-account-small-button {
    gap: 8px;
}


/* ==========================================================
   RÉSUMÉ COMMANDE
========================================================== */

.ps-account-order-summary {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    margin-bottom: 24px;

    overflow: hidden;

    background: #111111;

    border: 1px solid #333333;
    border-radius: 9px;
}


.ps-account-order-summary__item {
    display: flex;
    flex-direction: column;

    gap: 6px;

    min-height: 86px;

    padding: 18px;

    border-right: 1px solid #333333;
}


.ps-account-order-summary__item:last-child {
    border-right: 0;
}


.ps-account-order-summary__item > span {
    color: #777777;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.1px;

    text-transform: uppercase;
}


.ps-account-order-summary__item > strong {
    color: #ffffff;

    font-size: 13px;
    font-weight: 900;
}


.ps-account-order-summary__total,
.ps-account-order-summary__total
.woocommerce-Price-amount {
    color: #ff0000 !important;

    font-size: 17px !important;
    font-weight: 900;
}


/* ==========================================================
   INTRO
========================================================== */

.ps-account-view-order-intro {
    margin: 0 0 28px;

    color: #a9a9a9;

    font-size: 13px;
    line-height: 1.7;
}


.ps-account-view-order-intro strong {
    color: #ffffff;
}


/* ==========================================================
   TITRES INTERNES
========================================================== */

.ps-account-view-order-content h2,
.ps-account-view-order-content h3 {
    margin: 30px 0 16px;

    color: #ffffff;

    font-weight: 900;
}


.ps-account-view-order-content h2 {
    font-size: 22px;
}


.ps-account-view-order-content h3 {
    font-size: 18px;
}


/* ==========================================================
   TABLEAU DÉTAIL COMMANDE
========================================================== */

body.woocommerce-account
.ps-account-view-order-content
table.shop_table {
    width: 100%;

    margin: 0;

    overflow: hidden;

    border: 1px solid #333333;
    border-collapse: separate;
    border-spacing: 0;

    border-radius: 9px;

    background: #111111;

    color: #ffffff;
}


body.woocommerce-account
.ps-account-view-order-content
table.shop_table thead {
    background: #e60000;
}


body.woocommerce-account
.ps-account-view-order-content
table.shop_table thead th {
    padding: 15px 17px;

    border: 0;

    color: #ffffff;

    font-size: 11px;
    font-weight: 900;

    text-transform: uppercase;
}


body.woocommerce-account
.ps-account-view-order-content
table.shop_table tbody td,
body.woocommerce-account
.ps-account-view-order-content
table.shop_table tbody th,
body.woocommerce-account
.ps-account-view-order-content
table.shop_table tfoot td,
body.woocommerce-account
.ps-account-view-order-content
table.shop_table tfoot th {
    padding: 15px 17px;

    border: 0;
    border-top: 1px solid #303030;

    background: #111111;

    color: #ffffff;

    font-size: 13px;
}


body.woocommerce-account
.ps-account-view-order-content
table.shop_table
.product-name a {
    color: #ffffff;

    font-weight: 800;
}


body.woocommerce-account
.ps-account-view-order-content
table.shop_table
.product-name a:hover {
    color: #ff0000;
}


body.woocommerce-account
.ps-account-view-order-content
table.shop_table
.product-total {
    color: #ffffff;

    font-weight: 900;
}


/* ==========================================================
   TOTAL FINAL
========================================================== */

body.woocommerce-account
.ps-account-view-order-content
table.shop_table
tfoot tr:last-child {
    background: #e60000;
}


body.woocommerce-account
.ps-account-view-order-content
table.shop_table
tfoot tr:last-child th,
body.woocommerce-account
.ps-account-view-order-content
table.shop_table
tfoot tr:last-child td {
    background: #e60000;

    color: #ffffff;

    font-size: 15px;
    font-weight: 900;
}


/* ==========================================================
   ADRESSES
========================================================== */

body.woocommerce-account
.ps-account-view-order-content
.woocommerce-customer-details {
    margin-top: 30px;
}


body.woocommerce-account
.ps-account-view-order-content
.woocommerce-columns--addresses {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


body.woocommerce-account
.ps-account-view-order-content
.woocommerce-column--billing-address,
body.woocommerce-account
.ps-account-view-order-content
.woocommerce-column--shipping-address {
    float: none;

    width: 100%;

    padding: 22px;

    background: #111111;

    border: 1px solid #333333;
    border-radius: 9px;
}


body.woocommerce-account
.ps-account-view-order-content
.woocommerce-column__title {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 18px;
    font-weight: 900;
}


body.woocommerce-account
.ps-account-view-order-content
address {
    margin: 0;

    color: #ffffff;

    font-size: 13px;
    font-style: normal;
    line-height: 1.8;
}


/* ==========================================================
   TÉLÉPHONE / MAIL
========================================================== */

body.woocommerce-account
.ps-account-view-order-content
.woocommerce-customer-details--phone,
body.woocommerce-account
.ps-account-view-order-content
.woocommerce-customer-details--email {
    margin: 8px 0 0;

    color: #ffffff;

    font-weight: 700;
}


/* ==========================================================
   MISES À JOUR
========================================================== */

.ps-account-order-updates {
    margin-bottom: 28px;

    padding: 22px;

    background: #111111;

    border: 1px solid #333333;
    border-radius: 9px;
}


.ps-account-order-section-title > span {
    color: #ff0000;

    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.2px;
}


.ps-account-order-section-title h3 {
    margin: 4px 0 0;

    color: #ffffff;

    font-size: 17px;
    font-weight: 900;
}


.ps-account-order-section-title__line {
    display: block;

    width: 48px;
    height: 3px;

    margin-top: 10px;

    background: #ff0000;
}


.ps-account-order-updates
.woocommerce-OrderUpdates {
    margin: 18px 0 0;
    padding: 0;

    list-style: none;
}


.ps-account-order-updates
.woocommerce-OrderUpdate {
    padding: 15px;

    background: #161616;

    border: 1px solid #333333;
    border-radius: 7px;
}


.ps-account-order-updates
.woocommerce-OrderUpdate-meta {
    margin: 0 0 6px;

    color: #ff0000;

    font-size: 10px;
    font-weight: 900;
}


.ps-account-order-updates
.woocommerce-OrderUpdate-description p {
    margin: 0;

    color: #b0b0b0;

    font-size: 12px;
    line-height: 1.6;
}


/* ==========================================================
   CENTRAGE PAGE DÉTAIL COMMANDE
========================================================== */

body.woocommerce-account
.woocommerce:has(.ps-account-view-order-page) {
    grid-template-columns: minmax(0, 930px);

    grid-template-areas:
        "header"
        "content";

    justify-content: center;
}


body.woocommerce-account
.woocommerce:has(.ps-account-view-order-page)
.ps-account-sidebar {
    display: none;
}


body.woocommerce-account
.woocommerce:has(.ps-account-view-order-page)
.woocommerce-MyAccount-content {
    width: 100%;
    max-width: 930px;

    margin: 0 auto;
}


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

@media (max-width: 760px) {

    .ps-account-order-summary {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .ps-account-order-summary__item:nth-child(2) {
        border-right: 0;
    }


    body.woocommerce-account
    .ps-account-view-order-content
    .woocommerce-columns--addresses {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 500px) {

    .ps-account-order-summary {
        grid-template-columns: 1fr;
    }


    .ps-account-order-summary__item {
        border-right: 0;
        border-bottom: 1px solid #333333;
    }


    .ps-account-order-summary__item:last-child {
        border-bottom: 0;
    }

}


/* ==========================================================
   PAGE MODIFIER UNE ADRESSE
========================================================== */

.ps-account-edit-address-page {
    width: 100%;
    max-width: 930px;

    margin: 0 auto;
    padding: 28px;

    background: #181818;

    border: 1px solid #333333;
    border-radius: 14px;
}


/* ==========================================================
   INTRO
========================================================== */

.ps-account-edit-address-intro {
    max-width: 760px;

    margin: 0 0 28px;

    color: #a9a9a9;

    font-size: 14px;
    line-height: 1.7;
}


/* ==========================================================
   FORMULAIRE
========================================================== */

.ps-account-edit-address-form {
    display: flex;
    flex-direction: column;

    gap: 22px;
}


/* ==========================================================
   SECTION
========================================================== */

.ps-account-edit-address-section {
    overflow: hidden;

    background: #111111;

    border: 1px solid #333333;
    border-radius: 10px;
}


/* ==========================================================
   HEADER SECTION
========================================================== */

.ps-account-edit-address-section__header {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 20px 22px;

    background: #161616;

    border-bottom: 1px solid #333333;
}


.ps-account-edit-address-section__icon {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    border: 1px solid #ff0000;
    border-radius: 50%;

    color: #ff0000;

    font-size: 16px;
}


.ps-account-edit-address-section__header
> div > span {
    display: block;

    margin-bottom: 3px;

    color: #ff0000;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.2px;
}


.ps-account-edit-address-section__header h3 {
    margin: 0;

    color: #ffffff;

    font-size: 17px;
    font-weight: 900;
}


/* ==========================================================
   WRAPPER CHAMPS
========================================================== */

.ps-account-edit-address-fields {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    padding: 24px;
}


/* ==========================================================
   LIGNES DE FORMULAIRE
========================================================== */

body.woocommerce-account
.ps-account-edit-address-fields
.form-row {
    width: 100%;

    margin: 0;
    padding: 0;

    float: none;
}


/* Champs larges sur 2 colonnes */

body.woocommerce-account
.ps-account-edit-address-fields
.form-row-wide {
    grid-column: 1 / -1;
}


/* ==========================================================
   LABELS
========================================================== */

body.woocommerce-account
.ps-account-edit-address-fields
label {
    display: block;

    margin-bottom: 7px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
}


body.woocommerce-account
.ps-account-edit-address-fields
label .required {
    color: #ff0000;
}


/* ==========================================================
   INPUTS / SELECTS
========================================================== */

body.woocommerce-account
.ps-account-edit-address-fields
input.input-text,
body.woocommerce-account
.ps-account-edit-address-fields
select,
body.woocommerce-account
.ps-account-edit-address-fields
textarea,
body.woocommerce-account
.ps-account-edit-address-fields
.select2-selection {
    width: 100%;

    min-height: 48px;

    margin: 0;
    padding: 11px 14px;

    border: 1px solid #444444;
    border-radius: 5px;

    outline: none;

    background: #0d0d0d;

    color: #ffffff;

    font-size: 13px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


body.woocommerce-account
.ps-account-edit-address-fields
input.input-text:focus,
body.woocommerce-account
.ps-account-edit-address-fields
select:focus,
body.woocommerce-account
.ps-account-edit-address-fields
textarea:focus {
    border-color: #ff0000;

    background: #101010;

    box-shadow:
        0 0 0 3px rgba(255, 0, 0, .10);
}


/* ==========================================================
   SELECT2 WOOCOMMERCE
========================================================== */

body.woocommerce-account
.ps-account-edit-address-fields
.select2-container {
    width: 100% !important;
}


body.woocommerce-account
.ps-account-edit-address-fields
.select2-container
.select2-selection--single {
    display: flex;

    align-items: center;

    height: 48px;

    padding: 0 14px;

    border: 1px solid #444444;
    border-radius: 5px;

    background: #0d0d0d;
}


body.woocommerce-account
.ps-account-edit-address-fields
.select2-selection__rendered {
    padding: 0 !important;

    color: #ffffff !important;

    line-height: normal !important;
}


body.woocommerce-account
.ps-account-edit-address-fields
.select2-selection__arrow {
    top: 50%;

    transform: translateY(-50%);
}


/* ==========================================================
   FOOTER
========================================================== */

.ps-account-edit-address-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 2px;
}


/* ==========================================================
   BOUTON ENREGISTRER
========================================================== */

body.woocommerce-account
.ps-account-edit-address-submit {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 46px;

    padding: 0 22px;

    border: 0;
    border-radius: 5px;

    background: #e60000;

    color: #ffffff;

    font-size: 12px;
    font-weight: 900;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}


body.woocommerce-account
.ps-account-edit-address-submit:hover {
    background: #ff1a1a;

    color: #ffffff;

    box-shadow:
        0 0 20px rgba(255, 0, 0, .35);

    transform: translateY(-1px);
}


/* ==========================================================
   CENTRAGE PAGE MODIFIER ADRESSE
========================================================== */

body.woocommerce-account
.woocommerce:has(.ps-account-edit-address-page) {
    grid-template-columns: minmax(0, 930px);

    grid-template-areas:
        "header"
        "content";

    justify-content: center;
}


body.woocommerce-account
.woocommerce:has(.ps-account-edit-address-page)
.ps-account-sidebar {
    display: none;
}


body.woocommerce-account
.woocommerce:has(.ps-account-edit-address-page)
.woocommerce-MyAccount-content {
    width: 100%;
    max-width: 930px;

    margin: 0 auto;
}


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

@media (max-width: 700px) {

    .ps-account-edit-address-fields {
        grid-template-columns: 1fr;
    }


    body.woocommerce-account
    .ps-account-edit-address-fields
    .form-row-wide {
        grid-column: auto;
    }


    .ps-account-edit-address-footer {
        align-items: stretch;
        flex-direction: column;
    }


    body.woocommerce-account
    .ps-account-edit-address-submit {
        width: 100%;
    }

}


/* ==========================================================
   FORMULAIRES / ADRESSES / AUTRES ENDPOINTS
========================================================== */

body.woocommerce-account
.woocommerce-MyAccount-content
form,
body.woocommerce-account
.woocommerce-MyAccount-content
.woocommerce-Address,
body.woocommerce-account
.woocommerce-MyAccount-content
.woocommerce-customer-details {
    color: #ffffff;
}

body.woocommerce-account
.woocommerce-MyAccount-content
input.input-text,
body.woocommerce-account
.woocommerce-MyAccount-content
select,
body.woocommerce-account
.woocommerce-MyAccount-content
textarea {
    min-height: 46px;

    padding: 10px 13px;

    border: 1px solid #444444;
    border-radius: 5px;

    outline: none;

    background: #111111;

    color: #ffffff;
}

body.woocommerce-account
.woocommerce-MyAccount-content
input.input-text:focus,
body.woocommerce-account
.woocommerce-MyAccount-content
select:focus,
body.woocommerce-account
.woocommerce-MyAccount-content
textarea:focus {
    border-color: #ff0000;

    box-shadow:
        0 0 0 3px rgba(255, 0, 0, .10);
}

body.woocommerce-account
.woocommerce-MyAccount-content
button.button,
body.woocommerce-account
.woocommerce-MyAccount-content
a.button {
    border-radius: 4px;

    background: #e60000;

    color: #ffffff;

    font-weight: 900;
}


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

@media (max-width: 1180px) {

    body.woocommerce-account
    .woocommerce {
        grid-template-columns: 240px minmax(0, 1fr);
        width: min(1160px, calc(100% - 50px));
    }

    body.woocommerce-account
    .woocommerce:has(.ps-account-dashboard) {
        grid-template-columns: minmax(0, 930px);
    }

    .ps-account-dashboard-cards {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 850px) {

    body.woocommerce-account
    .woocommerce {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "sidebar"
            "content";

        width: min(760px, calc(100% - 32px));
    }

    body.woocommerce-account
    .woocommerce:has(.ps-account-dashboard) {
        grid-template-areas:
            "header"
            "content";
    }

    .ps-account-page-header {
        margin-bottom: 35px;
    }

    .ps-account-sidebar {
        margin-bottom: 25px;
    }

    .ps-account-navigation ul {
        display: grid;

        grid-template-columns:
            repeat(2, 1fr);
    }

    .ps-account-navigation
    .woocommerce-MyAccount-navigation-link--customer-logout {
        grid-column: 1 / -1;
    }

    .ps-account-order-preview {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .ps-account-order-preview__button {
        width: 100%;
    }

}


@media (max-width: 600px) {

    body.woocommerce-account
    .woocommerce {
        width:
            calc(100% - 24px);

        padding-top: 35px;
    }

    .ps-account-page-heading h1 {
        font-size: 35px;
    }

    .ps-account-page-heading p {
        font-size: 14px;
    }

    .ps-account-navigation ul {
        grid-template-columns: 1fr;
    }

    .ps-account-dashboard-cards {
        grid-template-columns: 1fr;
    }

    .ps-account-welcome {
        align-items: flex-start;
        flex-direction: column;
    }

    .ps-account-welcome__icon {
        display: none;
    }

    .ps-account-order-preview {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .ps-account-content-heading {
        align-items: flex-start;
        flex-direction: column;
    }

}