:root{
    --ingwe-cream:#F5F3EF;
    --ingwe-green:#223C2F;
    --ingwe-sage:#8B927D;
    --ingwe-light-sage:#E8E5DE;
}

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

body.ingwe-styled-account .woocommerce{
    width:calc(100% - 40px);
    max-width:1180px;
    margin:45px auto 70px;
    color:#4f5b54;
    font-family:'Poppins',Arial,sans-serif;
    font-size:14px;
    line-height:1.75;
}

body.ingwe-styled-account .woocommerce h1,
body.ingwe-styled-account .woocommerce h2,
body.ingwe-styled-account .woocommerce h3{
    color:var(--ingwe-green);
    font-family:'Cormorant Garamond',Georgia,serif;
    font-weight:600;
}

body.ingwe-styled-account .woocommerce h2{
    margin:0 0 22px;
    font-size:36px;
    line-height:1.1;
}

body.ingwe-styled-account .woocommerce h3{
    font-size:25px;
}

/* ACCOUNT LAYOUT */

body.ingwe-styled-account .woocommerce-MyAccount-navigation{
    width:27%;
    padding:26px 0;
    overflow:hidden;
    border-radius:14px;
    background:var(--ingwe-green);
    box-shadow:0 18px 45px rgba(34,60,47,.1);
}

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

body.ingwe-styled-account .woocommerce-MyAccount-navigation li{
    margin:0;
    padding:0;
    border-bottom:1px solid rgba(255,255,255,.1);
}

body.ingwe-styled-account .woocommerce-MyAccount-navigation li:last-child{
    border-bottom:0;
}

body.ingwe-styled-account .woocommerce-MyAccount-navigation a{
    position:relative;
    display:block;
    padding:15px 28px;
    color:rgba(255,255,255,.78);
    font-size:13px;
    font-weight:500;
    letter-spacing:.02em;
    text-decoration:none;
    transition:.25s ease;
}

body.ingwe-styled-account .woocommerce-MyAccount-navigation a:hover,
body.ingwe-styled-account .woocommerce-MyAccount-navigation .is-active a{
    padding-left:34px;
    background:rgba(255,255,255,.1);
    color:#fff;
}

body.ingwe-styled-account .woocommerce-MyAccount-navigation .is-active a::before{
    content:"";
    position:absolute;
    top:50%;
    left:18px;
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--ingwe-cream);
    transform:translateY(-50%);
}

body.ingwe-styled-account .woocommerce-MyAccount-content{
    width:70%;
    min-height:390px;
    padding:38px 42px;
    border:1px solid rgba(34,60,47,.13);
    border-radius:14px;
    background:#fff;
    box-shadow:0 18px 45px rgba(34,60,47,.06);
}

body.ingwe-styled-account .woocommerce-MyAccount-content > p:first-child{
    margin-top:0;
}

body.ingwe-styled-account .woocommerce-MyAccount-content a:not(.button){
    color:var(--ingwe-green);
    font-weight:600;
    text-decoration:underline;
    text-underline-offset:3px;
}

/* LOGIN AND REGISTER */

body.ingwe-styled-account #customer_login{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
}

body.ingwe-styled-account #customer_login .col-1,
body.ingwe-styled-account #customer_login .col-2{
    width:100%;
    max-width:none;
    padding:38px;
    border:1px solid rgba(34,60,47,.13);
    border-radius:14px;
    background:#fff;
    box-shadow:0 18px 45px rgba(34,60,47,.06);
}

body.ingwe-styled-account .woocommerce-form-login,
body.ingwe-styled-account .woocommerce-form-register,
body.ingwe-styled-account form.woocommerce-ResetPassword,
body.ingwe-styled-account form.edit-account{
    margin:0;
    padding:0;
    border:0;
}

/* FORMS */

body.ingwe-styled-account .woocommerce form .form-row{
    margin:0 0 18px;
    padding:0;
}

body.ingwe-styled-account .woocommerce form label{
    margin-bottom:7px;
    color:var(--ingwe-green);
    font-size:12px;
    font-weight:600;
    letter-spacing:.03em;
}

body.ingwe-styled-account .woocommerce form .required{
    color:#9f3f35;
}

body.ingwe-styled-account .woocommerce input.input-text,
body.ingwe-styled-account .woocommerce input[type="text"],
body.ingwe-styled-account .woocommerce input[type="email"],
body.ingwe-styled-account .woocommerce input[type="tel"],
body.ingwe-styled-account .woocommerce input[type="password"],
body.ingwe-styled-account .woocommerce select,
body.ingwe-styled-account .woocommerce textarea{
    width:100%;
    min-height:48px;
    padding:11px 14px;
    border:1px solid #d9ddd9;
    border-radius:9px;
    background:#fbfbf9;
    color:var(--ingwe-green);
    font-family:'Poppins',Arial,sans-serif;
    font-size:14px;
    box-shadow:none;
    transition:.2s ease;
}

body.ingwe-styled-account .woocommerce textarea{
    min-height:120px;
    resize:vertical;
}

body.ingwe-styled-account .woocommerce input:focus,
body.ingwe-styled-account .woocommerce select:focus,
body.ingwe-styled-account .woocommerce textarea:focus{
    outline:0;
    border-color:var(--ingwe-green);
    box-shadow:0 0 0 3px rgba(34,60,47,.1);
}

body.ingwe-styled-account .select2-container--default .select2-selection--single{
    min-height:48px;
    padding:9px 13px;
    border-color:#d9ddd9;
    border-radius:9px;
    background:#fbfbf9;
}

body.ingwe-styled-account .select2-container--default .select2-selection--single .select2-selection__arrow{
    top:10px;
    right:8px;
}

body.ingwe-styled-account fieldset{
    margin:28px 0 22px;
    padding:24px;
    border:1px solid rgba(34,60,47,.13);
    border-radius:12px;
    background:var(--ingwe-cream);
}

body.ingwe-styled-account legend{
    padding:0 10px;
    color:var(--ingwe-green);
    font-family:'Cormorant Garamond',Georgia,serif;
    font-size:22px;
    font-weight:600;
}

/* BUTTONS */

body.ingwe-styled-account .woocommerce a.button,
body.ingwe-styled-account .woocommerce button.button,
body.ingwe-styled-account .woocommerce input.button,
body.ingwe-styled-account .woocommerce .button{
    min-height:42px;
    padding:10px 24px;
    border:1px solid var(--ingwe-green);
    border-radius:999px;
    background:var(--ingwe-green);
    color:#fff;
    font-family:'Cormorant Garamond',Georgia,serif;
    font-size:17px;
    line-height:1.15;
    font-weight:600;
    text-decoration:none;
    box-shadow:none;
    transition:.25s ease;
}

body.ingwe-styled-account .woocommerce a.button:hover,
body.ingwe-styled-account .woocommerce button.button:hover,
body.ingwe-styled-account .woocommerce input.button:hover,
body.ingwe-styled-account .woocommerce .button:hover{
    border-color:var(--ingwe-green);
    background:#fff;
    color:var(--ingwe-green);
}

/* TABLES */

body.ingwe-styled-account .woocommerce table.shop_table{
    overflow:hidden;
    border:1px solid rgba(34,60,47,.13);
    border-collapse:separate;
    border-radius:12px;
    background:#fff;
}

body.ingwe-styled-account .woocommerce table.shop_table th{
    padding:15px 17px;
    border-color:rgba(255,255,255,.1);
    background:var(--ingwe-green);
    color:#fff;
    font-size:12px;
    font-weight:600;
    letter-spacing:.03em;
}

body.ingwe-styled-account .woocommerce table.shop_table td{
    padding:16px 17px;
    border-color:rgba(34,60,47,.1);
    color:#4f5b54;
}

body.ingwe-styled-account .woocommerce table.shop_table tr:nth-child(even) td{
    background:#fbfbf9;
}

/* ADDRESSES */

body.ingwe-styled-account .woocommerce-Addresses{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
}

body.ingwe-styled-account .woocommerce-Addresses .col-1,
body.ingwe-styled-account .woocommerce-Addresses .col-2{
    width:100%;
    max-width:none;
    padding:25px;
    border:1px solid rgba(34,60,47,.13);
    border-radius:12px;
    background:var(--ingwe-cream);
}

body.ingwe-styled-account .woocommerce-Address-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
}

body.ingwe-styled-account .woocommerce-Address-title h3{
    margin:0;
}

body.ingwe-styled-account address{
    margin-top:18px;
    color:#59645e;
    font-style:normal;
    line-height:1.8;
}

/* NOTICES */

body.ingwe-styled-account .woocommerce-error,
body.ingwe-styled-account .woocommerce-info,
body.ingwe-styled-account .woocommerce-message{
    margin:0 0 24px;
    padding:18px 22px 18px 54px;
    border:0;
    border-left:4px solid var(--ingwe-sage);
    border-radius:10px;
    background:#fff;
    color:#4f5b54;
    box-shadow:0 10px 30px rgba(34,60,47,.06);
}

body.ingwe-styled-account .woocommerce-error{
    border-left-color:#9f3f35;
}

body.ingwe-styled-account .woocommerce-info::before,
body.ingwe-styled-account .woocommerce-message::before{
    color:var(--ingwe-green);
}

body.ingwe-styled-account .woocommerce-error::before{
    color:#9f3f35;
}

/* RESPONSIVE */

@media(max-width:900px){
    body.ingwe-styled-account .woocommerce-MyAccount-navigation,
    body.ingwe-styled-account .woocommerce-MyAccount-content{
        width:100%;
        float:none;
    }

    body.ingwe-styled-account .woocommerce-MyAccount-navigation{
        margin-bottom:22px;
        padding:12px;
    }

    body.ingwe-styled-account .woocommerce-MyAccount-navigation ul{
        display:flex;
        flex-wrap:wrap;
        gap:7px;
    }

    body.ingwe-styled-account .woocommerce-MyAccount-navigation li{
        border:0;
    }

    body.ingwe-styled-account .woocommerce-MyAccount-navigation a,
    body.ingwe-styled-account .woocommerce-MyAccount-navigation a:hover,
    body.ingwe-styled-account .woocommerce-MyAccount-navigation .is-active a{
        padding:9px 14px;
        border-radius:999px;
    }

    body.ingwe-styled-account .woocommerce-MyAccount-navigation .is-active a::before{
        display:none;
    }

    body.ingwe-styled-account #customer_login{
        grid-template-columns:1fr;
    }
}

@media(max-width:600px){
    body.ingwe-styled-account .woocommerce{
        width:calc(100% - 30px);
        margin:30px auto 50px;
    }

    body.ingwe-styled-account .woocommerce-MyAccount-content,
    body.ingwe-styled-account #customer_login .col-1,
    body.ingwe-styled-account #customer_login .col-2{
        padding:27px 22px;
    }

    body.ingwe-styled-account .woocommerce h2{
        font-size:31px;
    }

    body.ingwe-styled-account .woocommerce-Addresses{
        grid-template-columns:1fr;
    }

    body.ingwe-styled-account .woocommerce table.shop_table_responsive tr{
        margin-bottom:14px;
        padding:12px;
        border:1px solid rgba(34,60,47,.13);
        border-radius:10px;
        background:#fff;
    }
}

