.sb-account-content .show-password-input{
    display:none !important;
}


.sb-account-page{
    background:
        linear-gradient(180deg,
            #fff 0%,
            #fff 10%,
            rgba(255,255,255,.9) 20%,
            #fff8f6 42%,
            #fae8e3 100%
        );
    color:#4b4638;
}

.sb-account-hero{
    background:transparent;
    padding:86px 24px 22px;
    text-align:center;
    position:relative;
}

.sb-account-hero::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:150px;
    background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.96) 34%,rgba(255,255,255,0) 100%);
    pointer-events:none;
}

.sb-account-hero-inner{
    position:relative;
    z-index:1;
    max-width:920px;
    margin:0 auto;
}

.sb-account-intro{
    max-width:780px;
    margin:0 auto;
    color:#5b523f;
    font-family:serif;
    font-size:26px;
    line-height:1.45;
    font-weight:400;
    text-align:center;
}

.sb-account-intro p{
    margin:0 auto 12px;
}

.sb-account-intro p:last-child{
    margin-bottom:0;
}

.sb-account-content{
    max-width:1180px;
    margin:0 auto;
    padding:48px 30px 95px;
}

.sb-account-content,
.sb-account-content *{
    box-sizing:border-box;
}

.sb-account-content .woocommerce{
    display:grid;
    grid-template-columns:300px minmax(0,1fr);
    gap:34px;
    align-items:start;
}

.sb-account-content .woocommerce::before,
.sb-account-content .woocommerce::after{
    display:none !important;
}

.sb-account-content .woocommerce-MyAccount-navigation{
    float:none !important;
    width:auto !important;
    position:sticky;
    top:110px;
    background:rgba(255,255,255,.96);
    border-radius:32px;
    padding:22px;
    box-shadow:0 18px 50px rgba(91,82,63,.08);
    border:1px solid rgba(247,215,223,.75);
}

.sb-account-content .woocommerce-MyAccount-navigation ul{
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.sb-account-content .woocommerce-MyAccount-navigation li{
    margin:0;
}

.sb-account-content .woocommerce-MyAccount-navigation a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:48px;
    padding:0 17px;
    border-radius:999px;
    background:#fff8f6;
    color:#e98798;
    text-decoration:none;
    text-transform:uppercase;
    font-size:12px;
    font-weight:800;
    letter-spacing:1px;
    transition:.25s ease;
    box-shadow:inset 0 0 0 1px rgba(247,215,223,.8);
}

.sb-account-content .woocommerce-MyAccount-navigation a::after{
    content:"›";
    font-size:18px;
    line-height:1;
    opacity:.7;
}

.sb-account-content .woocommerce-MyAccount-navigation li.is-active a,
.sb-account-content .woocommerce-MyAccount-navigation a:hover{
    background:#e98798;
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 12px 24px rgba(233,135,152,.18);
}

.sb-account-content .woocommerce-MyAccount-content{
    float:none !important;
    width:auto !important;
    min-width:0;
    min-height:380px;
    background:rgba(255,255,255,.96);
    border-radius:34px;
    padding:42px;
    box-shadow:0 18px 50px rgba(91,82,63,.08);
    border:1px solid rgba(247,215,223,.65);
}

.sb-account-content .woocommerce-MyAccount-content > p:first-child{
    margin-top:0;
}

.sb-account-content .woocommerce-MyAccount-content p{
    font-size:16px;
    line-height:1.85;
    color:#5b523f;
}

.sb-account-content .woocommerce-MyAccount-content a{
    color:#e98798;
    font-weight:800;
    text-decoration:none;
}

.sb-account-content .woocommerce-MyAccount-content a:hover{
    opacity:.8;
}

.sb-account-content h2,
.sb-account-content h3,
.sb-account-content legend{
    color:#5b523f;
    font-family:serif;
    font-size:34px;
    font-weight:400;
    line-height:1.15;
    margin:0 0 24px;
}

.sb-account-content legend{
    padding:0 12px;
    color:#e98798;
    font-size:24px;
}

.sb-account-content table{
    width:100%;
    border-collapse:separate;
    border-spacing:0 12px;
    margin:0;
}

.sb-account-content table th,
.sb-account-content table td{
    padding:16px 14px;
    border:0;
    background:#fff8f6;
    color:#5b523f;
    font-size:14px;
    vertical-align:middle;
}

.sb-account-content table th{
    text-align:left;
    text-transform:uppercase;
    letter-spacing:1px;
    font-size:12px;
    color:#e98798;
    font-weight:800;
}

.sb-account-content table tr th:first-child,
.sb-account-content table tr td:first-child{
    border-radius:18px 0 0 18px;
}

.sb-account-content table tr th:last-child,
.sb-account-content table tr td:last-child{
    border-radius:0 18px 18px 0;
}

.sb-account-content .woocommerce-orders-table__cell-order-actions{
    text-align:right;
}

.sb-account-content .button,
.sb-account-content button,
.sb-account-content input[type="submit"]{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    min-height:48px;
    border:0 !important;
    background:#f59a73 !important;
    color:#fff !important;
    text-decoration:none !important;
    padding:0 22px !important;
    border-radius:999px !important;
    text-transform:uppercase;
    font-size:11px !important;
    font-weight:800 !important;
    letter-spacing:1px;
    cursor:pointer;
    transition:.25s ease;
    white-space:normal;
    text-align:center;
}

.sb-account-content .button:hover,
.sb-account-content button:hover,
.sb-account-content input[type="submit"]:hover{
    opacity:.92;
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(245,154,115,.22);
}

.sb-account-content form .form-row{
    margin:0 0 20px;
    padding:0;
}

.sb-account-content label{
    display:block;
    margin-bottom:8px;
    color:#5b523f;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:1.2px;
}

.sb-account-content input.input-text,
.sb-account-content input[type="text"],
.sb-account-content input[type="email"],
.sb-account-content input[type="password"],
.sb-account-content input[type="tel"],
.sb-account-content textarea,
.sb-account-content select,
.sb-account-content .select2-container .select2-selection--single{
    width:100%;
    min-height:52px;
    border:1px solid #f3c8d2;
    border-radius:18px;
    background:#fff;
    color:#5b523f;
    padding:0 17px;
    font-size:15px;
    box-sizing:border-box;
    transition:.25s ease;
}

.sb-account-content textarea{
    min-height:130px;
    border-radius:22px;
    padding:15px 17px;
    resize:vertical;
}

.sb-account-content .select2-container .select2-selection--single{
    display:flex;
    align-items:center;
}

.sb-account-content .select2-selection__rendered{
    padding-left:0 !important;
    color:#5b523f !important;
}

.sb-account-content .select2-selection__arrow{
    top:12px !important;
    right:12px !important;
}

.sb-account-content input:focus,
.sb-account-content textarea:focus,
.sb-account-content select:focus{
    outline:none;
    border-color:#e98798;
    box-shadow:0 0 0 4px rgba(233,135,152,.14);
}

.sb-account-content fieldset{
    margin:34px 0 0;
    padding:30px;
    border:1px solid #f7d7df;
    border-radius:28px;
    background:#fff8f6;
}

.sb-account-content .woocommerce-form-login,
.sb-account-content .woocommerce-form-register,
.sb-account-content .woocommerce-ResetPassword{
    max-width:620px;
    margin:0 auto;
    padding:36px;
    border:1px solid #f7d7df;
    border-radius:32px;
    background:#fff;
    box-shadow:0 18px 50px rgba(91,82,63,.08);
}

.sb-account-content .woocommerce-form-login .form-row,
.sb-account-content .woocommerce-form-register .form-row,
.sb-account-content .woocommerce-ResetPassword .form-row{
    margin-bottom:18px;
}

.sb-account-content .woocommerce-form__label-for-checkbox,
.sb-account-content .woocommerce-shipping-fields label.checkbox,
.sb-account-content label.checkbox,
.sb-account-content .woocommerce-form-login__rememberme{
    display:flex !important;
    align-items:center;
    gap:9px;
    text-transform:none !important;
    letter-spacing:0 !important;
    font-size:14px !important;
    font-weight:600 !important;
    color:#6f6656 !important;
}

.sb-account-content input[type="checkbox"]{
    width:18px;
    height:18px;
    accent-color:#e98798;
}

.sb-account-content mark,
.sb-account-content .order-status{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:0 12px;
    border-radius:999px;
    background:#f8d7df;
    color:#e98798;
    font-weight:800;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message{
    background:#fff;
    border-top:0;
    color:#5b523f;
    padding:18px 22px 18px 54px;
    border-radius:24px;
    box-shadow:0 18px 50px rgba(91,82,63,.08);
    border:1px solid #f7d7df;
    line-height:1.6;
}

.woocommerce-error a,
.woocommerce-info a,
.woocommerce-message a{
    color:#e98798;
    font-weight:800;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before{
    color:#e98798;
    top:18px;
    left:22px;
}

.sb-account-content .woocommerce-address-fields,
.sb-account-content .woocommerce-EditAccountForm{
    max-width:760px;
}

.sb-account-content address{
    padding:24px;
    border-radius:24px;
    background:#fff8f6;
    color:#5b523f;
    line-height:1.8;
    font-style:normal;
}


/* ================================
   Etat déconnecté : connexion / inscription
================================ */

.sb-account-logged-out .sb-account-content{
    max-width:1120px;
    padding-top:42px;
}

.sb-account-login-heading{
    max-width:760px;
    margin:0 auto 30px;
    text-align:center;
}

.sb-account-login-heading span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 16px;
    border-radius:999px;
    background:#fff;
    color:#e98798;
    text-transform:uppercase;
    letter-spacing:1.4px;
    font-size:11px;
    font-weight:900;
    box-shadow:0 12px 30px rgba(91,82,63,.07);
    border:1px solid rgba(247,215,223,.8);
}

.sb-account-login-heading h1{
    margin:18px 0 10px;
    color:#5b523f;
    font-family:serif;
    font-size:44px;
    line-height:1.05;
    font-weight:400;
}

.sb-account-login-heading p{
    max-width:640px;
    margin:0 auto;
    color:#6f6656;
    font-size:16px;
    line-height:1.75;
}

.sb-account-logged-out .sb-account-content .woocommerce{
    display:block;
}


/* =====================================
   Connexion + inscription
===================================== */

.sb-account-logged-out .sb-account-content .u-columns,
.sb-account-logged-out .sb-account-content #customer_login{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:28px;
    align-items:stretch;
    width:100%;
    max-width:1080px;
    margin:0 auto !important;
}


/*
 * WooCommerce génère un clearfix avec ::before / ::after.
 *
 * Dès que #customer_login devient une grille CSS,
 * ces pseudo-éléments deviennent des éléments de grille.
 *
 * Sans cette correction :
 *
 * cellule 1 = ::before
 * cellule 2 = connexion
 * cellule 3 = inscription
 * cellule 4 = ::after
 *
 * Ce qui expliquait exactement le décalage visible.
 */
.sb-account-logged-out .sb-account-content .u-columns::before,
.sb-account-logged-out .sb-account-content .u-columns::after,
.sb-account-logged-out .sb-account-content #customer_login::before,
.sb-account-logged-out .sb-account-content #customer_login::after{
    content:none !important;
    display:none !important;
}


/* Cartes */

.sb-account-logged-out .sb-account-content .u-column1,
.sb-account-logged-out .sb-account-content .u-column2,
.sb-account-logged-out .sb-account-content #customer_login .col-1,
.sb-account-logged-out .sb-account-content #customer_login .col-2{
    float:none !important;
    clear:none !important;
    width:100% !important;
    max-width:none !important;
    min-width:0;
    margin:0 !important;

    position:relative;

    display:flex;
    flex-direction:column;

    justify-self:stretch;
    align-self:stretch;

    overflow:hidden;

    border-radius:34px;
    background:rgba(255,255,255,.97);
    border:1px solid rgba(247,215,223,.72);

    box-shadow:0 22px 60px rgba(91,82,63,.09);
}


/* Bandeaux décoratifs */

.sb-account-logged-out .sb-account-content .u-column1::before,
.sb-account-logged-out .sb-account-content .u-column2::before,
.sb-account-logged-out .sb-account-content #customer_login .col-1::before,
.sb-account-logged-out .sb-account-content #customer_login .col-2::before{
    content:"";
    height:118px;
    display:block;
    flex:0 0 auto;

    background:
        radial-gradient(
            circle at 18% 20%,
            rgba(255,255,255,.72) 0 18px,
            transparent 19px
        ),
        linear-gradient(
            135deg,
            #fff7f4 0%,
            #f8d7df 52%,
            #f6a076 100%
        );
}

.sb-account-logged-out .sb-account-content .u-column2::before,
.sb-account-logged-out .sb-account-content #customer_login .col-2::before{
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(255,255,255,.72) 0 18px,
            transparent 19px
        ),
        linear-gradient(
            135deg,
            #fff7f4 0%,
            #f8d7df 46%,
            #c4c489 100%
        );
}


/* Icônes */

.sb-account-logged-out .sb-account-content .u-column1::after,
.sb-account-logged-out .sb-account-content .u-column2::after,
.sb-account-logged-out .sb-account-content #customer_login .col-1::after,
.sb-account-logged-out .sb-account-content #customer_login .col-2::after{
    position:absolute;
    top:42px;
    left:34px;

    width:56px;
    height:56px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:rgba(255,255,255,.92);
    color:#e98798;

    font-size:26px;

    box-shadow:0 12px 28px rgba(91,82,63,.1);
}

.sb-account-logged-out .sb-account-content .u-column1::after,
.sb-account-logged-out .sb-account-content #customer_login .col-1::after{
    content:"↳";
}

.sb-account-logged-out .sb-account-content .u-column2::after,
.sb-account-logged-out .sb-account-content #customer_login .col-2::after{
    content:"+";
    color:#8e9462;
}


/* Titres */

.sb-account-logged-out .sb-account-content .u-column1 > h2,
.sb-account-logged-out .sb-account-content .u-column2 > h2,
.sb-account-logged-out .sb-account-content #customer_login .col-1 > h2,
.sb-account-logged-out .sb-account-content #customer_login .col-2 > h2{
    margin:0;
    padding:34px 36px 0;

    color:#5b523f;

    font-family:serif;
    font-size:34px;
    font-weight:400;
    line-height:1.12;
}


/* Formulaires internes */

.sb-account-logged-out .sb-account-content .woocommerce-form-login,
.sb-account-logged-out .sb-account-content .woocommerce-form-register{
    max-width:none;
    width:100%;

    flex:1;

    margin:0;
    padding:22px 36px 36px;

    border:0;
    border-radius:0;

    background:transparent;
    box-shadow:none;
}


/* Textes intro */

.sb-account-logged-out .sb-account-content .woocommerce-form-login::before,
.sb-account-logged-out .sb-account-content .woocommerce-form-register::before{
    display:block;

    margin:0 0 22px;

    color:#6f6656;

    font-size:15px;
    line-height:1.7;
}

.sb-account-logged-out .sb-account-content .woocommerce-form-login::before{
    content:"Déjà cliente ? Retrouvez rapidement vos commandes et vos informations.";
}

.sb-account-logged-out .sb-account-content .woocommerce-form-register::before{
    content:"Nouvelle ici ? Créez votre compte en quelques secondes.";
}


/* Lignes formulaire */

.sb-account-logged-out .sb-account-content .woocommerce-form-login .form-row,
.sb-account-logged-out .sb-account-content .woocommerce-form-register .form-row{
    margin-bottom:18px;
}


/* Inputs */

.sb-account-logged-out .sb-account-content .woocommerce-form-login input.input-text,
.sb-account-logged-out .sb-account-content .woocommerce-form-register input.input-text{
    min-height:56px;
    border-radius:20px;
    background:#fff8f6;
}


/* Boutons */

.sb-account-logged-out .sb-account-content .woocommerce-form-login__submit,
.sb-account-logged-out .sb-account-content .woocommerce-form-register__submit{
    width:100%;
    min-height:54px;
    margin-top:4px !important;
}


/* Mot de passe perdu */

.sb-account-logged-out .sb-account-content .woocommerce-LostPassword{
    margin:16px 0 0;
    text-align:center;
}

.sb-account-logged-out .sb-account-content .woocommerce-LostPassword a{
    color:#e98798;
    font-size:14px;
    font-weight:800;
    text-decoration:none;
}


/* Politique confidentialité */

.sb-account-logged-out .sb-account-content .woocommerce-privacy-policy-text{
    margin:6px 0 18px;
    padding:16px 18px;

    border-radius:20px;

    background:#fff8f6;
    color:#6f6656;

    font-size:13px;
    line-height:1.65;
}

.sb-account-logged-out .sb-account-content .woocommerce-privacy-policy-text p{
    margin:0;
    font-size:13px;
    line-height:1.65;
}


/* Mot de passe oublié */

.sb-account-logged-out .sb-account-content .woocommerce-ResetPassword{
    max-width:660px;
    padding:40px;
    border-radius:34px;
}


/* =====================================
   Responsive tablette
===================================== */

@media(max-width:980px){

    .sb-account-content{
        padding:40px 22px 76px;
    }

    /*
     * Compte connecté :
     * navigation au-dessus du contenu.
     */
    .sb-account-content .woocommerce{
        grid-template-columns:1fr;
    }

    .sb-account-content .woocommerce-MyAccount-navigation{
        position:relative;
        top:auto;
        padding:18px;
    }

    .sb-account-content .woocommerce-MyAccount-navigation ul{
        flex-direction:row;
        overflow-x:auto;
        padding-bottom:8px;
    }

    .sb-account-content .woocommerce-MyAccount-navigation a{
        white-space:nowrap;
    }

}


/* =====================================
   Responsive mobile
===================================== */

@media(max-width:760px){

    /*
     * Seulement ici on passe connexion
     * et inscription l'une sous l'autre.
     */
    .sb-account-logged-out .sb-account-content .u-columns,
    .sb-account-logged-out .sb-account-content #customer_login{
        grid-template-columns:1fr;
        max-width:620px;
        gap:24px;
    }

    .sb-account-login-heading h1{
        font-size:34px;
    }

    .sb-account-login-heading p{
        font-size:15px;
    }

    .sb-account-logged-out .sb-account-content .u-column1,
    .sb-account-logged-out .sb-account-content .u-column2,
    .sb-account-logged-out .sb-account-content #customer_login .col-1,
    .sb-account-logged-out .sb-account-content #customer_login .col-2{
        border-radius:28px;
    }

    .sb-account-logged-out .sb-account-content .u-column1::before,
    .sb-account-logged-out .sb-account-content .u-column2::before,
    .sb-account-logged-out .sb-account-content #customer_login .col-1::before,
    .sb-account-logged-out .sb-account-content #customer_login .col-2::before{
        height:96px;
    }

    .sb-account-logged-out .sb-account-content .u-column1::after,
    .sb-account-logged-out .sb-account-content .u-column2::after,
    .sb-account-logged-out .sb-account-content #customer_login .col-1::after,
    .sb-account-logged-out .sb-account-content #customer_login .col-2::after{
        top:28px;
        left:24px;
        width:48px;
        height:48px;
        font-size:23px;
    }

    .sb-account-logged-out .sb-account-content .u-column1 > h2,
    .sb-account-logged-out .sb-account-content .u-column2 > h2,
    .sb-account-logged-out .sb-account-content #customer_login .col-1 > h2,
    .sb-account-logged-out .sb-account-content #customer_login .col-2 > h2{
        padding:28px 22px 0;
        font-size:30px;
    }

    .sb-account-logged-out .sb-account-content .woocommerce-form-login,
    .sb-account-logged-out .sb-account-content .woocommerce-form-register,
    .sb-account-logged-out .sb-account-content .woocommerce-ResetPassword{
        padding:20px 22px 28px;
    }

    .sb-account-hero{
        padding:58px 18px 12px;
    }

    .sb-account-intro{
        font-size:21px;
        line-height:1.5;
    }

    .sb-account-content{
        padding:34px 16px 68px;
    }

    .sb-account-content .woocommerce-MyAccount-content,
    .sb-account-content .woocommerce-form-login,
    .sb-account-content .woocommerce-form-register,
    .sb-account-content .woocommerce-ResetPassword{
        padding:26px 20px;
        border-radius:26px;
    }

    .sb-account-content h2,
    .sb-account-content h3{
        font-size:29px;
    }

    .sb-account-content table,
    .sb-account-content thead,
    .sb-account-content tbody,
    .sb-account-content th,
    .sb-account-content td,
    .sb-account-content tr{
        display:block;
        width:100%;
    }

    .sb-account-content table{
        border-spacing:0;
    }

    .sb-account-content table tr{
        margin-bottom:14px;
        padding:14px;

        border-radius:22px;

        background:#fff8f6;
    }

    .sb-account-content table th{
        display:none;
    }

    .sb-account-content table td{
        padding:9px 0;
        background:transparent;
        border-radius:0 !important;
    }

    .sb-account-content table td::before{
        content:attr(data-title);

        display:block;

        margin-bottom:3px;

        color:#e98798;

        font-size:11px;
        font-weight:800;

        text-transform:uppercase;
        letter-spacing:1px;
    }

    .sb-account-content .woocommerce-orders-table__cell-order-actions{
        text-align:left;
    }

    .sb-account-content .button,
    .sb-account-content button,
    .sb-account-content input[type="submit"]{
        width:100%;
    }

}