/*
Theme Name: DentShop
Theme URI: https://dentshop.ir
Author: Mohammad
Version: 1.0
Text Domain: dentshop
*/

body{
    margin:0;
    padding:0;
    direction:rtl;
    font-family:tahoma;
    background:#f8fafc;
}

a{
    text-decoration:none;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}
.elementor-page .site{
    width:100%;
}

.elementor-section{
    width:100%;
}

.brand-card a,
.brandsSwiper .swiper-slide a{
    display:block;
    width:100%;
    height:100%;
}

/* آیکون شبکه های اجتماعی فوتر */

.footer-social{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.footer-social a{
    width:45px;
    height:45px;
    background:rgba(255,255,255,.1);
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    padding:8px;
}

.footer-social img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.breadcrumb{

    background:#fff;

    padding:15px 20px;

    border-radius:15px;

    margin:20px 0;

    box-shadow:0 2px 10px rgba(0,0,0,.05);

    font-size:14px;
}

.breadcrumb a{

    color:var(--primary-color);

    text-decoration:none;
}

.breadcrumb span{

    margin:0 8px;

    color:#999;
}

.dent-account-sidebar{
    background:#fff;
    border-radius:25px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.dent-user-box{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
    padding-bottom:20px;
    border-bottom:1px solid #eee;
}

.dent-user-avatar{
    width:70px;
    height:70px;
    background:#1565F5;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-size:28px;
}

.dent-user-info{
    display:flex;
    flex-direction:column;
}

.dent-user-info strong{
    font-size:18px;
}

.dent-user-info span{
    color:#777;
}

.dent-account-sidebar ul{
    list-style:none;
    margin:0;
    padding:0;
}

.dent-account-sidebar li{
    margin-bottom:10px;
}

.dent-account-sidebar li a{
    display:block;
    padding:14px 18px;
    border-radius:14px;
    color:#444;
    text-decoration:none;
}

.dent-account-sidebar li.is-active a{
    background:#1565F5;
    color:#fff;
}

.dent-dashboard{
    width:100%;
}

.dent-welcome-card{
    background:linear-gradient(
        135deg,
        #1565F5,
        #3D8BFF
    );

    color:#fff;

    padding:35px;

    border-radius:25px;

    margin-bottom:30px;
}

.dent-welcome-card h2{
    margin:0;
    font-size:28px;
}

.dent-welcome-card p{
    margin-top:10px;
    opacity:.9;
}

.dent-stats-grid{
    display:grid;

    grid-template-columns:
        repeat(3,1fr);

    gap:20px;
}

.dent-stat-card{

    background:#fff;

    border-radius:20px;

    padding:30px;

    text-align:center;

    box-shadow:
        0 10px 25px rgba(0,0,0,.08);

}

.dent-stat-card h3{

    font-size:28px;

    color:#1565F5;

    margin-bottom:10px;

}

.dent-stat-card span{

    color:#777;

}

.dent-account-page{
    background:#f5f7fb;
    min-height:100vh;
    padding:50px 0;
}

.dent-account-wrapper{
    background:#fff;
    border-radius:30px;
    padding:35px;
    box-shadow:
        0 15px 40px rgba(0,0,0,.08);
}

.dent-account-layout{
    width:100%;
}

.dent-account-wrapper{
    width:100%;
    background:#fff;
    border-radius:30px;
    padding:35px;
    box-shadow:
        0 15px 40px rgba(0,0,0,.08);
}

.dent-sidebar{

    position:sticky;

    top:20px;

}

.dent-content{

    background:#fff;

    border-radius:25px;

    padding:30px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.06);

}

.woocommerce-account .woocommerce{

    width:100%;

}

.woocommerce-account .woocommerce-MyAccount-content{

    width:100% !important;

    margin:0 !important;

    float:none !important;

}

.woocommerce-account .woocommerce-MyAccount-navigation{

    width:280px;

}

.dent-account-sidebar{

    position:sticky;

    top:20px;

}

@media(max-width:768px){

    .woocommerce-account .woocommerce{

        display:block;

    }

}

.woocommerce-account .woocommerce{

    display:flex;

    gap:30px;

}

.woocommerce-account .woocommerce-MyAccount-navigation{

    width:280px;

    flex-shrink:0;

}

.woocommerce-account .woocommerce-MyAccount-content{

    flex:1;

}

@media(max-width:768px){

    .woocommerce-account .woocommerce{

        display:block !important;

    }

    .woocommerce-account .woocommerce-MyAccount-navigation{

        width:100% !important;

        margin-bottom:20px;
    }

    .woocommerce-account .woocommerce-MyAccount-content{

        width:100% !important;

        margin:0 !important;
    }

    .dent-account-sidebar{

        position:relative;

        top:auto;
    }

    .dent-user-box{

        justify-content:center;

        text-align:center;

        flex-direction:column;
    }

    .dent-account-sidebar ul{

        display:flex;

        overflow-x:auto;

        gap:10px;

        padding-bottom:10px;

        scrollbar-width:none;
    }

    .dent-account-sidebar ul::-webkit-scrollbar{

        display:none;
    }

    .dent-account-sidebar li{

        flex-shrink:0;
    }

    .dent-account-sidebar li a{

        white-space:nowrap;

        padding:12px 18px;

        font-size:14px;
    }

}

.dent-account-sidebar::after{

    content:"";

    display:block;

    width:80px;

    height:4px;

    border-radius:10px;

    background:#1565F5;

    margin:15px auto 0;

}

@media(max-width:768px){

    .dent-account-sidebar{

        position:relative;

        padding-bottom:25px;

    }

    .dent-account-sidebar::after{

        content:"";

        position:absolute;

        bottom:5px;

        left:50%;

        transform:translateX(-50%);

        width:80px;

        height:5px;

        border-radius:20px;

        background:#1565F5;

        animation:slideHint 1.5s ease-in-out infinite;

    }

    @keyframes slideHint{

        0%{
            transform:translateX(-50%) translateX(-20px);
            opacity:.4;
        }

        50%{
            transform:translateX(-50%) translateX(20px);
            opacity:1;
        }

        100%{
            transform:translateX(-50%) translateX(-20px);
            opacity:.4;
        }

    }

}

@media(max-width:768px){

    .dent-stats-grid{
        grid-template-columns:
            repeat(2,1fr);
    }

}

.woocommerce-orders-table{

    border:none !important;

}

.woocommerce-orders-table thead{

    display:none;
}

.woocommerce-orders-table tbody tr{

    display:block;

    background:#fff;

    border-radius:20px;

    padding:25px;

    margin-bottom:20px;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.woocommerce-orders-table td{

    display:flex;

    justify-content:space-between;

    border:none !important;

    padding:12px 0 !important;

}

.woocommerce-orders-table td::before{

    font-weight:700;

    color:#1565F5;
}

.woocommerce-orders-table__cell-order-number::before{
    content:"شماره سفارش";
}

.woocommerce-orders-table__cell-order-date::before{
    content:"تاریخ";
}

.woocommerce-orders-table__cell-order-status::before{
    content:"وضعیت";
}

.woocommerce-orders-table__cell-order-total::before{
    content:"مبلغ";
}

.woocommerce-orders-table__cell-order-actions::before{
    content:"عملیات";
}

@media(max-width:768px){

    .woocommerce-orders-table td{

        flex-direction:column;

        gap:10px;

    }

}

.dent-order-card{

    background:#fff;

    border-radius:20px;

    padding:25px;

    margin-bottom:20px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.05);

}

.dent-order-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.dent-order-status{

    background:#1565F5;

    color:#fff;

    padding:8px 15px;

    border-radius:30px;

    font-size:12px;

}

.dent-order-meta{

    display:flex;

    justify-content:space-between;

    margin-bottom:20px;

    color:#666;

}

.dent-view-order{

    display:inline-block;

    padding:12px 20px;

    background:#1565F5;

    color:#fff;

    border-radius:12px;

    text-decoration:none;

}

@media(max-width:768px){

    .dent-order-meta{

        flex-direction:column;

        gap:10px;

    }

    .dent-order-header{

        flex-direction:column;

        gap:15px;

    }

}

.woocommerce-Addresses{
    display:block !important;
}

.woocommerce-Address{
    width:100% !important;
    max-width:700px;
    margin:0 auto;
    background:#fff;
    border-radius:25px;
    padding:35px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.woocommerce-Address-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.woocommerce-Address-title h2,
.woocommerce-Address-title h3{
    margin:0;
    font-size:28px;
}

.woocommerce-Address-title a{
    background:#1565F5;
    color:#fff;
    padding:12px 20px;
    border-radius:12px;
    text-decoration:none;
}

.woocommerce-Address address{
    line-height:2.2;
    color:#666;
    font-style:normal;
}

@media(max-width:768px){

    .woocommerce-Address{
        padding:25px;
    }

    .woocommerce-Address-title{
        flex-direction:column;
        gap:15px;
    }

    .woocommerce-Address-title a{
        width:100%;
        text-align:center;
    }

}

.woocommerce-account .woocommerce{
    display:flex;
    flex-direction:row-reverse;
    gap:30px;
}

.woocommerce-MyAccount-navigation{
    width:280px;
    flex-shrink:0;
}

.woocommerce-MyAccount-content{
    flex:1;
    min-width:0;
}

@media(max-width:768px){

    .woocommerce{
        display:block;
    }

    .woocommerce-MyAccount-navigation{
        width:100%;
        margin-bottom:20px;
    }

}

.middle-banners{
    margin: 40px 0;
}

.middle-banners .container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

.middle-banner{
    display: block;
    overflow: hidden;
    border-radius: 20px;
}

.middle-banner img{
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    transition: .3s;
}

.middle-banner:hover img{
    transform: scale(1.03);
}

@media (max-width:768px){

    .middle-banners .container{
        grid-template-columns: 1fr;
        gap: 15px;
    }

}

.heroSwiper .swiper-slide{
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

@media (max-width:768px){
    .heroSwiper,
    .heroSwiper .swiper-slide{
        height: auto !important;
        min-height: 340px !important;
    }
}