/* ==========================================================
   INFO PRO 13 — MON COMPTE
========================================================== */

body.woocommerce-account {
    overflow-x:hidden !important;
    background:#ffffff !important;
    color:#151515;
}

body.woocommerce-account .ip13-account,
body.woocommerce-account .ip13-account * {
    box-sizing:border-box;
}

.ip13-account {
    min-height:70vh;
    background:radial-gradient(
            circle at 50% 0,
            rgba(102,137,255,.12),
            transparent 30%
        ),
        #ffffff;
}

.ip13-account__container {
    width:min(1240px,calc(100% - 40px));
    margin:0 auto;
}


/* HERO */

.ip13-account__hero {
    position:relative;
    overflow:hidden;
    padding:72px 0 60px;
    text-align:center;
    border-bottom:1px solid rgba(0, 0, 0,.07);
}

.ip13-account__glow {
    position:absolute;
    top:-280px;
    left:50%;
    width:850px;
    height:600px;
    transform:translateX(-50%);
    border-radius:50%;
    background:rgba(102,137,255,.16);
    filter:blur(120px);
}

.ip13-account__hero .ip13-account__container {
    position:relative;
    z-index:2;
}

.ip13-account__eyebrow {
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:7px 11px;
    border:1px solid rgba(102,137,255,.32);
    border-radius:999px;
    background:rgba(102,137,255,.08);
    color:#7a97ff;
    font-size:.62rem;
    font-weight:900;
    letter-spacing:.12em;
}

.ip13-account__eyebrow::before {
    content:"";
    width:7px;
    height:7px;
    border-radius:50%;
    background:#6689ff;
    box-shadow:0 0 15px rgba(102,137,255,.8);
}

.ip13-account__hero h1 {
    max-width:850px;
    margin:18px auto 0;
    color:#151515;
    font-size:clamp(3rem,7vw,5.7rem);
    line-height:.92;
    font-weight:950;
    letter-spacing:-.065em;
}

.ip13-account__hero h1 span {
    color:#6689ff;
}

.ip13-account__hero p {
    max-width:650px;
    margin:21px auto 0;
    color:#9999ad;
    font-size:.88rem;
    line-height:1.7;
}


/* CONTENT */

.ip13-account__content {
    padding:48px 0 85px;
}


/* ==========================================================
   COMPTE CONNECTÉ
========================================================== */

.ip13-account-shell {
    display:grid;
    grid-template-columns:285px minmax(0,1fr);
    gap:20px;
    align-items:start;
}


/* SIDEBAR */

.ip13-account-sidebar {
    overflow:hidden;
    border:1px solid rgba(0, 0, 0,.08);
    border-radius:16px;
    background:#ffffff;
}

.ip13-account-sidebar__head {
    display:grid;
    grid-template-columns:46px minmax(0,1fr);
    gap:12px;
    align-items:center;
    padding:20px;
    border-bottom:1px solid rgba(0, 0, 0,.07);
}

.ip13-account-avatar {
    display:flex;
    width:46px;
    height:46px;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(102,137,255,.42);
    border-radius:12px;
    background:rgba(102,137,255,.10);
    color:#7a97ff;
    font-size:1rem;
    font-weight:900;
}

.ip13-account-sidebar__head span {
    display:block;
    margin-bottom:3px;
    color:#5b6472;
    font-size:.52rem;
    font-weight:850;
    letter-spacing:.1em;
}

.ip13-account-sidebar__head strong {
    display:block;
    overflow:hidden;
    color:#151515;
    font-size:.82rem;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.ip13-account-sidebar__head small {
    display:block;
    overflow:hidden;
    margin-top:3px;
    color:#5b6472;
    font-size:.6rem;
    text-overflow:ellipsis;
    white-space:nowrap;
}


/* MENU WOO */

.ip13-account-nav
.woocommerce-MyAccount-navigation {
    width:100% !important;
    float:none !important;
    margin:0 !important;
}

.ip13-account-nav
.woocommerce-MyAccount-navigation ul {
    display:grid;
    gap:2px;
    margin:0 !important;
    padding:9px !important;
    list-style:none !important;
}

.ip13-account-nav
.woocommerce-MyAccount-navigation li {
    margin:0 !important;
    padding:0 !important;
}

.ip13-account-nav
.woocommerce-MyAccount-navigation a {
    display:flex;
    min-height:45px;
    align-items:center;
    padding:10px 12px;
    border:1px solid transparent;
    border-radius:9px;
    color:#9898aa !important;
    font-size:.69rem;
    font-weight:750;
    text-decoration:none !important;
    transition:.15s ease;
}

.ip13-account-nav
.woocommerce-MyAccount-navigation a:hover {
    border-color:rgba(102,137,255,.18);
    background:rgba(102,137,255,.06);
    color:#fff !important;
}

.ip13-account-nav
.woocommerce-MyAccount-navigation
.is-active a {
    border-color:rgba(102,137,255,.30);
    background:rgba(102,137,255,.10);
    color:#7a97ff !important;
}


/* PANEL */

.ip13-account-panel {
    min-width:0;
    padding:30px;
    border:1px solid rgba(102,137,255,.16);
    border-radius:16px;
    background:#ffffff;
    box-shadow:0 22px 60px rgba(0,0,0,.24);
}

.ip13-account-panel
.woocommerce-MyAccount-content {
    width:100% !important;
    float:none !important;
    margin:0 !important;
    color:#a3a3b5;
}

.ip13-account-panel h2,
.ip13-account-panel h3 {
    color:#151515 !important;
}

.ip13-account-panel p {
    color:#6b7280;
    line-height:1.7;
}

.ip13-account-panel a {
    color:#6689ff;
}

.ip13-account-panel table {
    width:100%;
    border-collapse:collapse;
    overflow:hidden;
    border:1px solid rgba(0, 0, 0,.08);
    border-radius:11px;
    background:#f5f7fb;
}

.ip13-account-panel th,
.ip13-account-panel td {
    padding:14px !important;
    border-color:rgba(0, 0, 0,.07) !important;
    background:transparent !important;
    color:#6b7280 !important;
}

.ip13-account-panel th {
    color:#151515 !important;
}

.ip13-account-panel
.woocommerce-Price-amount {
    color:#6689ff !important;
    font-weight:850;
}


/* FORMULAIRES COMPTE */

.ip13-account-panel
.woocommerce-form-row {
    margin-bottom:15px !important;
}

.ip13-account-panel label {
    color:#6b7280;
    font-size:.68rem;
    font-weight:750;
}

.ip13-account-panel input,
.ip13-account-panel select,
.ip13-account-panel textarea {
    width:100%;
    min-height:50px;
    margin-top:7px;
    padding:10px 13px;
    border:1px solid rgba(0, 0, 0,.09);
    border-radius:9px;
    outline:none;
    background:#ffffff;
    color:#151515;
}

.ip13-account-panel input:focus,
.ip13-account-panel select:focus,
.ip13-account-panel textarea:focus {
    border-color:rgba(102,137,255,.65);
    box-shadow:0 0 0 3px rgba(102,137,255,.08);
}

.ip13-account-panel button,
.ip13-account-panel .button {
    min-height:44px;
    padding:10px 15px !important;
    border:1px solid rgba(102,137,255,.50) !important;
    border-radius:9px !important;
    background:linear-gradient(135deg,#1d3fd1,#6689ff) !important;
    color:#fff !important;
    font-size:.66rem !important;
    font-weight:900 !important;
    text-decoration:none !important;
}


/* ==========================================================
   LOGIN / REGISTER
========================================================== */

.ip13-login-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
    max-width:1050px;
    margin:0 auto;
}

.ip13-login-grid--single {
    grid-template-columns:minmax(0,600px);
    justify-content:center;
}

.ip13-login-card {
    padding:32px;
    border:1px solid rgba(102,137,255,.16);
    border-radius:17px;
    background:#ffffff;
    box-shadow:0 22px 60px rgba(0,0,0,.22);
}

.ip13-login-card__head > span {
    color:#6689ff;
    font-size:.59rem;
    font-weight:900;
    letter-spacing:.12em;
}

.ip13-login-card__head h2 {
    margin:10px 0 0;
    color:#151515;
    font-size:2rem;
    line-height:1.05;
    font-weight:900;
    letter-spacing:-.04em;
}

.ip13-login-card__head p {
    margin:10px 0 0;
    color:#858599;
    font-size:.76rem;
    line-height:1.6;
}

.ip13-login-card form {
    display:grid;
    gap:16px;
    margin-top:27px !important;
}

.ip13-login-card form > label {
    display:grid;
    gap:7px;
}

.ip13-login-card form > label > span {
    color:#6b7280;
    font-size:.67rem;
    font-weight:750;
}

.ip13-login-card input[type="text"],
.ip13-login-card input[type="email"],
.ip13-login-card input[type="password"] {
    width:100%;
    height:52px;
    margin:0 !important;
    padding:0 14px;
    border:1px solid rgba(0, 0, 0,.09);
    border-radius:10px;
    outline:none;
    background:#ffffff;
    color:#151515;
    font-size:.8rem;
}

.ip13-login-card input:focus {
    border-color:rgba(102,137,255,.70);
    box-shadow:0 0 0 3px rgba(102,137,255,.09);
}

.ip13-login-options {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
}

.ip13-login-remember {
    display:flex !important;
    align-items:center;
    gap:7px !important;
}

.ip13-login-remember input {
    width:16px !important;
    height:16px !important;
    min-height:0 !important;
    margin:0 !important;
    accent-color:#6689ff;
}

.ip13-login-remember span,
.ip13-login-options a {
    color:#818195 !important;
    font-size:.62rem !important;
}

.ip13-account-submit {
    display:flex !important;
    width:100% !important;
    min-height:53px !important;
    align-items:center;
    justify-content:center;
    gap:10px;
    border:1px solid rgba(102,137,255,.55) !important;
    border-radius:10px !important;
    background:linear-gradient(135deg,#1d3fd1,#6689ff) !important;
    color:#fff !important;
    cursor:pointer;
    font-size:.69rem !important;
    font-weight:900 !important;
    letter-spacing:.04em;
}


/* ==========================================================
   TABLETTE
========================================================== */

@media(max-width:900px) {

    .ip13-account-shell {
        grid-template-columns:1fr;
    }

    .ip13-account-nav
    .woocommerce-MyAccount-navigation ul {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .ip13-account-nav
    .woocommerce-MyAccount-navigation a {
        justify-content:center;
        text-align:center;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media(max-width:650px) {

    .ip13-account__container {
        width:calc(100% - 20px);
    }

    .ip13-account__hero {
        padding:48px 0 40px;
    }

    .ip13-account__hero h1 {
        font-size:clamp(2.7rem,14vw,4rem);
    }

    .ip13-account__hero p {
        font-size:.78rem;
    }

    .ip13-account__content {
        padding:27px 0 50px;
    }

    .ip13-login-grid {
        grid-template-columns:1fr;
    }

    .ip13-login-card,
    .ip13-account-panel {
        padding:21px 15px;
        border-radius:14px;
    }

    .ip13-account-nav
    .woocommerce-MyAccount-navigation ul {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .ip13-account-nav
    .woocommerce-MyAccount-navigation a {
        min-height:42px;
        padding:8px;
        font-size:.61rem;
    }

    .ip13-account-panel {
        overflow-x:auto;
    }

    .ip13-account-panel table {
        min-width:600px;
    }

    .ip13-login-options {
        align-items:flex-start;
        flex-direction:column;
    }

    .ip13-login-card input[type="text"],
    .ip13-login-card input[type="email"],
    .ip13-login-card input[type="password"],
    .ip13-account-panel input,
    .ip13-account-panel select {
        font-size:16px;
    }
}


/* ==========================================================
   INSCRIPTION — PRÉNOM / NOM
========================================================== */

.ip13-register-name-row {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.ip13-register-name-row label {
    display:grid;
    gap:7px;
    min-width:0;
}

.ip13-register-name-row label > span {
    color:#6b7280;
    font-size:.67rem;
    font-weight:750;
}

.ip13-register-name-row input {
    width:100% !important;
    height:52px !important;
    margin:0 !important;
    padding:0 14px !important;
    border:1px solid rgba(0, 0, 0,.09) !important;
    border-radius:10px !important;
    outline:none !important;
    background:#ffffff !important;
    color:#151515 !important;
}

.ip13-register-name-row input:focus {
    border-color:rgba(102,137,255,.70) !important;
    box-shadow:0 0 0 3px rgba(102,137,255,.09) !important;
}

@media(max-width:650px) {

    .ip13-register-name-row {
        grid-template-columns:1fr;
    }

    .ip13-register-name-row input {
        font-size:16px !important;
    }
}
