/* ==========================================
   Ilashop
   Version: 1.0.0
========================================== */

/* Reset */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* Dashboard */

.mud-dashboard{

    max-width:1400px;

    margin:40px auto;

    padding:20px;

    border-radius:20px;

}

/* Header */

.mud-header{

    background:#ffffff;

    border-radius:16px;

    padding:30px;

    margin-bottom:30px;

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

}

.mud-user-info{

    display:flex;

    align-items:center;

    gap:20px;

}

.mud-avatar img{

    width:80px;

    height:80px;

    border-radius:50%;

}

.mud-user-text h2{

    font-size:28px;

    margin-bottom:8px;

    color:#222;

}

.mud-user-text p{

    color:#777;

}

/* Statistics */

.mud-stats{

    display:flex;

    flex-wrap:wrap;

    gap:20px;

    margin-bottom:30px;

}

.mud-card{

    flex:1;

    min-width:220px;

    background:#ffffff;

    border-radius:16px;

    padding:30px;

    text-align:center;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

    transition:.3s;

    cursor:pointer;

}

.mud-card:hover{

    transform:translateY(-6px);

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

}

.mud-card-icon{

    font-size:34px;

    margin-bottom:15px;

}

.mud-card-number{

    font-size:30px;

    font-weight:700;

    color:#222;

    margin-bottom:10px;

}

.mud-card-title{

    color:#777;

    font-size:15px;

}

/* Content */

.mud-content{

    display:flex;

    gap:30px;

    align-items:flex-start;

}

/* Sidebar */

.mud-sidebar{

    width:260px;

    background:#ffffff;

    border-radius:16px;

    padding:25px;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

}

.mud-sidebar ul{

    list-style:none;

}

.mud-sidebar li{

    padding:14px 0;

    border-bottom:1px solid #eeeeee;

    transition:.3s;

    cursor:pointer;

}

.mud-sidebar li:last-child{

    border-bottom:none;

}

.mud-sidebar li:hover{

    color:#000;

    padding-right:8px;

}

/* Main */

.mud-main{

    flex:1;

    background:#ffffff;

    border-radius:16px;

    padding:30px;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

}

.mud-main h3{

    margin-bottom:20px;

    color:#222;

}

.mud-main p{

    color:#666;

    line-height:2;

}

/* Responsive */

@media(max-width:991px){

    .mud-content{

        flex-direction:column;

    }

    .mud-sidebar{

        width:100%;

    }

}

@media(max-width:767px){

    .mud-dashboard{

        padding:15px;

    }

    .mud-user-info{

        flex-direction:column;

        text-align:center;

    }

    .mud-user-text h2{

        font-size:24px;

    }

    .mud-stats{

        flex-direction:column;

    }

    .mud-card{

        width:100%;

        min-width:100%;

    }

}
/* Sidebar Links */

.mud-sidebar li a{

    display:block;

    color:#333;

    text-decoration:none;

    transition:.3s;

}

.mud-sidebar li:hover{

    background:#f7f7f7;

    border-radius:8px;

}

.mud-sidebar li.mud-active{

    background:#111;

    border-radius:8px;

}

.mud-sidebar li.mud-active a{

    color:#fff;

    font-weight:600;

}
/* ==========================================
   Orders Table
========================================== */

.mud-section-title{

    font-size:26px;

    margin-bottom:25px;

    color:#222;

}

.mud-empty{

    background:#fff;

    border-radius:12px;

    padding:40px;

    text-align:center;

    box-shadow:0 8px 25px rgba(0,0,0,.05);

}

.mud-table{

    width:100%;

    border-collapse:collapse;

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

}

.mud-table thead{

    background:#111;

    color:#fff;

}

.mud-table th{

    padding:18px;

    text-align:right;

    font-weight:600;

}

.mud-table td{

    padding:18px;

    border-bottom:1px solid #eee;

}

.mud-table tbody tr:hover{

    background:#fafafa;

}

.mud-btn{

    display:inline-block;

    padding:8px 18px;

    background:#111;

    color:#fff;

    border-radius:8px;

    text-decoration:none;

    transition:.3s;

}

.mud-btn:hover{

    background:#333;

    color:#fff;

}

.mud-status{

    display:inline-block;

    padding:6px 12px;

    border-radius:20px;

    font-size:13px;

    font-weight:600;

}

.mud-status-completed{

    background:#e9f8ee;

    color:#17803d;

}

.mud-status-processing{

    background:#fff6dd;

    color:#b77900;

}

.mud-status-on-hold{

    background:#eef2ff;

    color:#4f46e5;

}

.mud-status-cancelled{

    background:#fdeaea;

    color:#d32f2f;

}

.mud-status-pending{

    background:#f4f4f4;

    color:#666;
}

@media(max-width:768px){

    .mud-table{

        display:block;

        overflow-x:auto;

        white-space:nowrap;

    }

}
/* Dashboard Home */

.mud-home-card{

    background:#fff;

    border-radius:16px;

    padding:25px;

    margin-bottom:25px;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

}


.mud-home-card-header h4{

    margin-bottom:20px;

}


.mud-order-summary{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

}


.mud-order-summary div{

    display:flex;

    flex-direction:column;

    gap:8px;

}


.mud-order-summary span{

    color:#777;

    font-size:14px;

}


.mud-order-summary strong{

    color:#222;

}


@media(max-width:768px){

    .mud-order-summary{

        flex-direction:column;

        align-items:flex-start;

    }

}
/* Order Detail */

.mud-products-list{
    display:flex;
    flex-direction:column;
    gap:15px;
}


.mud-product-item{

    display:flex;

    align-items:center;

    gap:20px;

    background:#fff;

    padding:20px;

    border-radius:16px;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

}


.mud-product-image img{

    width:80px;

    height:80px;

    object-fit:cover;

    border-radius:12px;

}


.mud-product-info h4{

    margin:0 0 10px;

    font-size:16px;

}


.mud-product-info p{

    margin:5px 0;

    color:#666;

}



.mud-home-card{

    background:#fff;

    border-radius:16px;

    padding:25px;

    margin-bottom:20px;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

}


.mud-home-card h4{

    margin-bottom:20px;

    font-size:18px;

}



.mud-order-summary{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

}



.mud-order-summary div{

    background:#fafafa;

    padding:15px 20px;

    border-radius:12px;

    min-width:150px;

}


.mud-order-summary span{

    display:block;

    font-size:13px;

    color:#777;

    margin-bottom:8px;

}



.mud-order-summary strong{

    font-size:16px;

}



@media(max-width:768px){

    .mud-product-item{

        flex-direction:column;

        align-items:flex-start;

    }


    .mud-order-summary div{

        width:100%;

    }

}
/* Fix order summary desktop layout */

.mud-order-summary{

    display:grid;

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

    gap:15px;

}


.mud-order-summary div{

    min-width:0;

    padding:18px;

}


.mud-order-summary strong{

    white-space:nowrap;

    font-size:15px;

}



@media(max-width:768px){

    .mud-order-summary{

        display:flex;

        flex-direction:column;

        gap:15px;

    }


    .mud-order-summary div{

        width:100%;

    }

}
.mud-price{
    white-space:nowrap;
    direction:rtl;
    display:inline-block;
}
/* Fix WooCommerce price breaking */

.mud-order-summary .woocommerce-Price-amount,
.mud-order-summary .woocommerce-Price-currencySymbol{

    display:inline !important;

    white-space:nowrap !important;

}


.mud-order-summary strong{

    display:flex !important;

    align-items:center;

    gap:5px;

    white-space:nowrap !important;

}


.mud-order-summary .woocommerce-Price-amount{

    direction:rtl;

}
/* Sale Products */

.mud-sale-products{

    display:grid;

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

    gap:20px;

}


.mud-sale-product{

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

    transition:.3s;

}

.mud-sale-info,
.mud-recent-info,
.mud-wishlist-info{
    min-height:250px;
}

.mud-sale-product:hover{

    transform:translateY(-5px);

}



.mud-sale-image img{

    width:100%;

    height:180px;

    object-fit:cover;

}



.mud-sale-info{

    padding:18px;

}



.mud-sale-info h5{

    margin:0 0 15px;

    font-size:16px;

}



.mud-sale-price{

    margin-bottom:15px;

}



.mud-sale-price .price{

    font-size:16px;

}



@media(max-width:1024px){

    .mud-sale-products{

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

    }

}



@media(max-width:768px){

    .mud-sale-products{

        grid-template-columns:1fr;

    }

}
/* Recent Products */

.mud-recent-products{

    display:grid;

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

    gap:20px;

}



.mud-recent-product{

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

    transition:.3s;

}



.mud-recent-product:hover{

    transform:translateY(-5px);

}



.mud-recent-image img{

    width:100%;

    height:180px;

    object-fit:cover;

}



.mud-recent-info{

    padding:18px;

}



.mud-recent-info h5{

    margin:0 0 15px;

    font-size:16px;

    line-height:1.8;

}



.mud-recent-info .price{

    display:block;

    margin-bottom:15px;

}



.mud-recent-info .mud-btn{

    display:inline-block;

}





@media(max-width:1024px){

    .mud-recent-products{

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

    }

}



@media(max-width:768px){

    .mud-recent-products{

        grid-template-columns:1fr;

    }

}
/* Align recent product buttons */

.mud-recent-info{

    display:flex;

    flex-direction:column;

    height:100%;

}



.mud-recent-info h5{

    min-height:58px;

    display:flex;

    align-items:center;

}



.mud-recent-info .price{

    margin-top:auto;

    margin-bottom:15px;

}


.mud-recent-info .mud-btn{

    margin-top:10px;

}
/* Wishlist Products */

.mud-wishlist-products{

    display:grid;

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

    gap:20px;

}



.mud-wishlist-product{

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

    transition:.3s;

}



.mud-wishlist-product:hover{

    transform:translateY(-5px);

}



.mud-wishlist-image img{

    width:100%;

    height:180px;

    object-fit:cover;

}



.mud-wishlist-info{

    padding:18px;

    display:flex;

    flex-direction:column;

    min-height:230px;

}



.mud-wishlist-info h5{

    margin:0 0 15px;

    min-height:58px;

    display:flex;

    align-items:center;

    font-size:16px;

    line-height:1.8;

}



.mud-wishlist-price{

    margin-top:auto;

    margin-bottom:15px;

}



.mud-wishlist-info .mud-btn{

    display:inline-block;

}



@media(max-width:1024px){

    .mud-wishlist-products{

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

    }

}



@media(max-width:768px){

    .mud-wishlist-products{

        grid-template-columns:1fr;

    }

}
.mud-account-list{
    margin-top:25px;
}


.mud-account-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 0;

    border-bottom:1px solid #eee;

}


.mud-account-item:last-child{

    border-bottom:none;

}


.mud-account-item span{

    color:#777;

    font-size:14px;

}


.mud-account-item strong{

    font-size:15px;

    color:#222;

}



@media(max-width:768px){

    .mud-account-item{

        flex-direction:column;

        align-items:flex-start;

        gap:8px;

    }

}
/* Fix Dashboard RTL Layout */

.mud-content{

    direction:rtl;

}


.mud-sidebar{

    flex-shrink:0;

}


.mud-main{

    min-width:0;

}
.mud-dashboard{

    max-width:1500px;

}
/* Fix Zephyr ul margin inside dashboard */

.mud-sidebar ul{

    margin-right:0 !important;

    margin-left:0 !important;

    padding-right:0 !important;

}

/* Ilashop - inline address editor */
.mud-address-notice{
    margin:0 0 18px;
    padding:12px 16px;
    border-radius:10px;
    background:#f0f9f1;
    font-weight:600;
}

.mud-address-form{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    margin-top:20px;
}

.mud-address-field{
    min-width:0;
}

.mud-address-field-full{
    grid-column:1 / -1;
}

.mud-address-field label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

.mud-address-field input,
.mud-address-field select{
    width:100%;
    min-height:46px;
    padding:8px 12px;
    border:1px solid #d8d8d8;
    border-radius:8px;
    background:#fff;
    box-sizing:border-box;
    font:inherit;
}

.mud-address-actions{
    margin-top:4px;
}

.mud-address-actions .mud-btn{
    border:0;
    cursor:pointer;
}

@media (max-width:700px){
    .mud-address-form{
        grid-template-columns:1fr;
    }

    .mud-address-field-full{
        grid-column:auto;
    }
}
