/* ===========================
   My Account
=========================== */

.woocommerce-account .woocommerce{

    display:flex;
    gap:35px;
    align-items:flex-start;

}

/* Sidebar */

.woocommerce-account .woocommerce-MyAccount-navigation{

    width:280px;

    background:#fff;

    border-radius:20px;

    padding:18px;

    border:1px solid #eee;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

    position:sticky;
    top:30px;

}

/* Menu */

.woocommerce-MyAccount-navigation ul{

    list-style:none;

    margin:0;

    padding:0;

}

.woocommerce-MyAccount-navigation li{

    margin-bottom:10px;

}

.woocommerce-MyAccount-navigation a{

    display:flex;

    align-items:center;

    gap:12px;

    height:48px;

    padding:0 18px;

    border-radius:12px;

    color:#333;

    font-weight:600;

    text-decoration:none;

    transition:.25s;

}

.woocommerce-MyAccount-navigation li.is-active a{

    background:#CD1640;

    color:#fff;

}

.woocommerce-MyAccount-navigation a:hover{

    background:#FFF2F6;

    color:#CD1640;

}

/* Content */

.woocommerce-account .woocommerce-MyAccount-content{

    flex:1;

    background:#fff;

    border-radius:20px;

    padding:35px;

    border:1px solid #eee;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

/* Titles */

.woocommerce-account h2,
.woocommerce-account h3{

    font-size:24px;

    margin-bottom:25px;

}

/* Forms */

.woocommerce-account input,
.woocommerce-account select,
.woocommerce-account textarea{

    height:48px;

    border-radius:12px;

    border:1px solid #ddd;

    padding:0 16px;

}

.woocommerce-account textarea{

    min-height:120px;

    padding-top:12px;

}



/* Orders */

.woocommerce-account table{

    border-radius:14px;

    overflow:hidden;

}

.woocommerce-account table th{

    background:#FAFAFA;

}

.woocommerce-account table td,
.woocommerce-account table th{

    padding:16px;

}

/* Mobile */

@media(max-width:991px){

.woocommerce-account .woocommerce{

display:block;

}

.woocommerce-account .woocommerce-MyAccount-navigation{

width:100%;

margin-bottom:25px;

position:static;

}

}


/* ==========================================
   Password Toggle
========================================== */

/* والد فیلد رمز */
.woocommerce-account .password-input{
    position:relative;
    width:100%;
}

/* فیلد رمز */
.woocommerce-account .password-input input{
    width:100%;
    padding-left:48px !important; /* جا برای آیکون */
    box-sizing:border-box;
}

/* دکمه نمایش رمز */
.woocommerce-account .show-password-input{

    position:absolute;

    left:12px;

    top:50%;

    transform:translateY(-50%);

    width:36px;

    height:36px;

    border:none;

    background:transparent;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    color:#888;

    transition:.25s;

    margin:0;

    padding:0;

}

.woocommerce-account .show-password-input:hover{

    color:#CD1640;

}

/* آیکون */
.woocommerce-account .show-password-input::after{

    font-size:18px;

}


/* ==========================================
   Address Box Header
========================================== */

.woocommerce-account .woocommerce-Address{

    background:#fff;
    border:1px solid #ececec;
    border-radius:18px;
    padding:24px;
    box-shadow:0 8px 24px rgba(0,0,0,.05);

}

/* هدر */

.woocommerce-account .woocommerce-Address-title{

    display:block;

    margin-bottom:24px;

    padding-bottom:18px;

    border-bottom:1px solid #f2f2f2;

}

/* عنوان */

.woocommerce-account .woocommerce-Address-title h2{

    display:block;

    width:100%;

    margin:0 0 18px;

    font-size:22px;

    font-weight:700;

    color:#222;

    line-height:1.5;

}

/* دکمه */

.woocommerce-account .woocommerce-Address-title .edit{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    background:#CD1640;

    color:#fff !important;

    padding:10px 20px;

    border-radius:12px;

    font-size:14px;

    font-weight:600;

    text-decoration:none !important;

    transition:.25s;

}

/* آیکون */

.woocommerce-account .woocommerce-Address-title .edit::before{

    content:"+";

    font-size:18px;

    font-weight:700;

}

.woocommerce-account .woocommerce-Address-title .edit:hover{

    background:#b31239;

    transform:translateY(-2px);

    box-shadow:0 8px 20px rgba(205,22,64,.25);

}