/* MsM WooCore v2.5 - Hesabım / Müşteri paneli */
.woocommerce-account .msm-page > h1{
    display:none;
}

.woocommerce-account .msm-entry-content{
    background:transparent;
}

.msm-account-page{
    width:100%;
}

.msm-account-hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:22px;
    margin:0 0 22px;
    padding:24px;
    border-radius:calc(var(--msm-radius,16px) + 8px);
    background:linear-gradient(135deg,var(--msm-secondary,#ffc400),var(--msm-primary,#ec1b8c));
    color:#111;
    box-shadow:0 18px 50px rgba(0,0,0,.10);
}

.msm-account-kicker{
    display:inline-flex;
    align-items:center;
    padding:5px 10px;
    margin:0 0 8px;
    border-radius:999px;
    background:rgba(255,255,255,.56);
    font-size:12px;
    font-weight:900;
    letter-spacing:.03em;
    text-transform:uppercase;
}

.msm-account-hero h2{
    margin:0;
    font-size:clamp(25px,4vw,38px);
    line-height:1.05;
    font-weight:900;
    letter-spacing:-.035em;
}

.msm-account-hero p{
    max-width:650px;
    margin:8px 0 0;
    color:rgba(17,17,17,.75);
    font-weight:650;
}

.msm-account-hero-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:12px 18px;
    border-radius:999px;
    background:#111;
    color:#fff!important;
    font-weight:900;
    white-space:nowrap;
    box-shadow:0 12px 26px rgba(0,0,0,.18);
}

.msm-account-layout{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    gap:22px;
    align-items:start;
}

.msm-account-navigation{
    position:sticky;
    top:18px;
    border:1px solid var(--msm-border,#eee);
    border-radius:var(--msm-radius,16px);
    background:#fff;
    padding:12px;
    box-shadow:0 12px 32px rgba(0,0,0,.055);
}

.msm-account-navigation ul{
    list-style:none;
    margin:0;
    padding:0;
    display:grid;
    gap:7px;
}

.msm-account-navigation a{
    display:flex;
    align-items:center;
    gap:10px;
    min-height:43px;
    padding:10px 12px;
    border-radius:13px;
    color:var(--msm-text,#222);
    font-weight:800;
    line-height:1.15;
}

.msm-account-navigation a:hover,
.msm-account-navigation .is-active a{
    background:linear-gradient(135deg,rgba(255,196,0,.22),rgba(236,27,140,.12));
    color:var(--msm-primary,#ec1b8c);
}

.msm-account-nav-dot{
    width:9px;
    height:9px;
    border-radius:999px;
    background:var(--msm-border,#eee);
    flex:0 0 auto;
}

.msm-account-navigation .is-active .msm-account-nav-dot,
.msm-account-navigation a:hover .msm-account-nav-dot{
    background:var(--msm-primary,#ec1b8c);
}

.msm-account-content{
    min-width:0;
}

.msm-account-panel{
    border:1px solid var(--msm-border,#eee);
    border-radius:var(--msm-radius,16px);
    background:#fff;
    padding:20px;
    box-shadow:0 12px 32px rgba(0,0,0,.045);
    margin:0 0 18px;
}

.msm-account-panel-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin:0 0 16px;
}

.msm-account-panel h3,
.woocommerce-account .woocommerce-Address-title h3,
.woocommerce-account .woocommerce-order-details__title,
.woocommerce-account .woocommerce-customer-details h2{
    margin:0 0 5px;
    font-size:22px;
    line-height:1.18;
    font-weight:900;
    letter-spacing:-.025em;
}

.msm-account-panel p,
.msm-account-panel-head p{
    margin:0;
    color:var(--msm-muted,#666);
}

.msm-account-quick-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}

.msm-account-quick-card{
    display:block;
    border:1px solid var(--msm-border,#eee);
    border-radius:15px;
    padding:16px;
    background:linear-gradient(180deg,#fff,#fafafa);
}

.msm-account-quick-card:hover{
    border-color:var(--msm-primary,#ec1b8c);
    transform:translateY(-1px);
}

.msm-account-quick-card strong{
    display:block;
    margin:0 0 5px;
    font-size:16px;
    font-weight:900;
}

.msm-account-quick-card span{
    display:block;
    color:var(--msm-muted,#666);
    font-size:13px;
    line-height:1.45;
}

.msm-account-small-link{
    display:inline-flex;
    align-items:center;
    min-height:36px;
    padding:8px 13px;
    border-radius:999px;
    border:1px solid var(--msm-border,#eee);
    font-weight:850;
    white-space:nowrap;
}

.msm-account-order-list{
    display:grid;
    gap:10px;
}

.msm-account-order-card{
    display:grid;
    grid-template-columns:1.1fr 1.2fr .9fr .9fr;
    align-items:center;
    gap:12px;
    padding:13px 14px;
    border:1px solid var(--msm-border,#eee);
    border-radius:14px;
    background:#fff;
}

.msm-account-order-card:hover{
    border-color:var(--msm-primary,#ec1b8c);
}

.msm-account-order-no,
.msm-order-number-link{
    font-weight:950;
    color:var(--msm-primary,#ec1b8c);
}

.msm-account-status{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:max-content;
    min-height:28px;
    padding:5px 10px;
    border-radius:999px;
    background:rgba(255,196,0,.18);
    color:#8a5800;
    font-size:12px;
    font-weight:900;
    white-space:nowrap;
}

.msm-account-empty{
    border:1px dashed var(--msm-border,#eee);
    border-radius:15px;
    padding:18px;
    background:#fafafa;
}

.msm-account-empty strong{
    display:block;
    margin:0 0 6px;
    font-size:17px;
    font-weight:900;
}

.msm-account-empty p{
    margin:0 0 12px;
}

.msm-account-table-wrap{
    overflow:auto;
    border-radius:15px;
    border:1px solid var(--msm-border,#eee);
}

.msm-account-orders-table{
    width:100%;
    border-collapse:collapse;
    margin:0!important;
    background:#fff;
}

.msm-account-orders-table th,
.msm-account-orders-table td{
    padding:14px 13px!important;
    border-bottom:1px solid var(--msm-border,#eee)!important;
    text-align:left;
    vertical-align:middle;
}

.msm-account-orders-table th{
    background:#fafafa;
    font-size:12px;
    font-weight:900;
    color:var(--msm-muted,#666);
    text-transform:uppercase;
    letter-spacing:.035em;
}

.msm-account-orders-table tr:last-child td{
    border-bottom:0!important;
}

.msm-account-orders-table .button,
.woocommerce-account .button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:9px 14px!important;
    border:0!important;
    border-radius:999px!important;
    background:linear-gradient(135deg,var(--msm-secondary,#ffc400),var(--msm-primary,#ec1b8c))!important;
    color:#111!important;
    font-weight:900!important;
    line-height:1!important;
    text-decoration:none!important;
}

.msm-account-pagination{
    display:flex;
    justify-content:space-between;
    gap:10px;
    margin-top:14px;
}

.msm-order-detail-summary{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
}

.msm-order-detail-summary > div{
    border:1px solid var(--msm-border,#eee);
    border-radius:14px;
    padding:14px;
    background:#fafafa;
}

.msm-order-detail-summary span{
    display:block;
    margin:0 0 5px;
    color:var(--msm-muted,#666);
    font-size:12px;
    font-weight:800;
}

.msm-order-detail-summary strong{
    font-size:17px;
    font-weight:950;
}

.woocommerce-account table.shop_table{
    border:1px solid var(--msm-border,#eee)!important;
    border-radius:15px!important;
    overflow:hidden;
    background:#fff;
}

.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td{
    padding:13px!important;
}

.woocommerce-account address{
    border:1px solid var(--msm-border,#eee);
    border-radius:15px;
    padding:14px;
    background:#fafafa;
    font-style:normal;
}

.msm-account-login-wrap{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
}

.msm-account-login-wrap .woocommerce-form-row,
.woocommerce-account .form-row{
    margin:0 0 14px;
}

.woocommerce-account label{
    display:block;
    margin:0 0 7px;
    font-weight:850;
}

.woocommerce-account input.input-text,
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"],
.woocommerce-account input[type="tel"],
.woocommerce-account select,
.woocommerce-account textarea{
    width:100%;
    min-height:44px;
    border:1px solid var(--msm-border,#eee);
    border-radius:13px;
    padding:10px 12px;
    background:#fff;
    outline:0;
}

.woocommerce-account textarea{
    min-height:98px;
}

.woocommerce-account input:focus,
.woocommerce-account select:focus,
.woocommerce-account textarea:focus{
    border-color:var(--msm-primary,#ec1b8c);
    box-shadow:0 0 0 3px rgba(236,27,140,.10);
}

.msm-account-login-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
}

.woocommerce-form-login__rememberme{
    display:inline-flex!important;
    align-items:center;
    gap:7px;
    margin:0!important;
}

.woocommerce-form-login__rememberme input{
    width:auto!important;
    min-height:0!important;
}

.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-message{
    border:1px solid var(--msm-border,#eee)!important;
    border-radius:15px!important;
    background:#fff!important;
    padding:14px 16px!important;
    margin:0 0 18px!important;
    box-shadow:0 10px 26px rgba(0,0,0,.04);
}

@media(max-width:900px){
    .msm-account-hero{
        display:block;
    }
    .msm-account-hero-button{
        margin-top:16px;
        width:100%;
    }
    .msm-account-layout{
        grid-template-columns:1fr;
    }
    .msm-account-navigation{
        position:relative;
        top:auto;
        overflow:auto;
    }
    .msm-account-navigation ul{
        display:flex;
        min-width:max-content;
    }
    .msm-account-navigation a{
        white-space:nowrap;
    }
    .msm-account-quick-grid,
    .msm-account-login-wrap,
    .msm-order-detail-summary{
        grid-template-columns:1fr;
    }
    .msm-account-order-card{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:600px){
    .msm-account-hero,
    .msm-account-panel{
        padding:16px;
        border-radius:16px;
    }
    .msm-account-panel-head{
        display:block;
    }
    .msm-account-small-link{
        margin-top:10px;
    }
    .msm-account-order-card{
        grid-template-columns:1fr;
    }
    .msm-account-orders-table thead{
        display:none;
    }
    .msm-account-orders-table,
    .msm-account-orders-table tbody,
    .msm-account-orders-table tr,
    .msm-account-orders-table td{
        display:block;
        width:100%;
    }
    .msm-account-orders-table tr{
        border-bottom:1px solid var(--msm-border,#eee);
        padding:10px 0;
    }
    .msm-account-orders-table td{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:14px;
        border-bottom:0!important;
        padding:8px 12px!important;
        text-align:right;
    }
    .msm-account-orders-table td:before{
        content:attr(data-title);
        font-weight:900;
        color:var(--msm-muted,#666);
        text-align:left;
    }
}


/* MsM WooCore v2.6 - WooCommerce varsayılan Hesabım genişliklerini sıfırla */
.woocommerce-account .msm-account-layout{
    width:100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation.msm-account-navigation,
.woocommerce-account .woocommerce-MyAccount-content.msm-account-content{
    float:none!important;
    width:100%!important;
    max-width:none!important;
    clear:none!important;
    margin:0!important;
}

.woocommerce-account .msm-account-navigation{
    width:100%!important;
}

.woocommerce-account .msm-account-content{
    width:100%!important;
}

.woocommerce-account .msm-entry-content::before,
.woocommerce-account .msm-entry-content::after,
.woocommerce-account .msm-account-layout::before,
.woocommerce-account .msm-account-layout::after{
    content:none!important;
    display:none!important;
}

.woocommerce-account .msm-entry-content > p:empty{
    display:none!important;
}

.woocommerce-account .msm-account-page img[src=""],
.woocommerce-account .msm-entry-content img[src=""],
.woocommerce-account .msm-entry-content img:not([src]){
    display:none!important;
}

@media(min-width:901px){
    .woocommerce-account .msm-account-layout{
        grid-template-columns:240px minmax(0,1fr);
        gap:24px;
    }
}

@media(max-width:900px){
    .woocommerce-account .woocommerce-MyAccount-navigation.msm-account-navigation,
    .woocommerce-account .woocommerce-MyAccount-content.msm-account-content{
        width:100%!important;
    }
}
