.cabinet{
    padding:40px 5px 70px;
}

.cabinet-layout{
    display:flex;
    gap:30px;
    align-items:flex-start;
}
.cabinet-sidebar{
    width:280px;
    flex:0 0 280px;
    min-height:600px;

    background:#ffe9d8;

    position:sticky;
    top:100px;
}
.cabinet-products{
    width:100%;
    max-width:1150px;
    margin:40px auto 0;

    background:#fff;
    border-radius:24px;
    padding:32px;
    border:1px solid #f5d8bb;
    box-shadow:0 15px 40px rgba(32,41,56,.08);
}

.cabinet-content{
    flex:1;
    min-height:600px;
}
.profile-card{
    width:100%;
    box-sizing:border-box;

    background:#fff;
    border-radius:18px;
    padding:30px 25px;
    text-align:center;

    box-shadow:0 8px 30px rgba(0,0,0,.06);
    margin-bottom:20px;
}

.profile-avatar{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:18px;
}

.profile-name{
    font-size:22px;
    font-weight:700;
    color:#202938;
    margin-bottom:6px;
}

.profile-role{
    color:#8a94a6;
    margin-bottom:8px;
}

.profile-email{
    color:#6d7788;
    font-size:15px;
}

.cabinet-menu{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 30px rgba(0,0,0,.06);
}

.cabinet-menu a{
    display:block;
    padding:18px 22px;
    color:#202938;
    text-decoration:none;
    border-bottom:1px solid #ffd3ad;
    transition:.25s;
}

.cabinet-menu a:last-child{
    border-bottom:none;
}

.cabinet-menu a:hover{
    background:#fff5ef;
}

.cabinet-menu .active{
    background:#fff5ef;
    color:#e77b2c;
    font-weight:700;
}

.logout{
    color:#d9534f !important;
}
.cabinet-header{
    margin-bottom:30px;
}

.cabinet-header h1{
    font-size:40px;
    font-weight:800;
    color:#202938;
    margin-bottom:10px;
}

.cabinet-header p{
    color:#7b8798;
    font-size:17px;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.stat-card{
    background:#fff;
    border-radius:18px;
    padding:30px;
    box-shadow:0 10px 30px rgba(32,41,56,.08);
    transition:.25s;
}
.stat-card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 40px rgba(32,41,56,.12);
}

.stat-icon{
    font-size:30px;
    margin-bottom:20px;
}

.stat-number{
    font-size:36px;
    font-weight:800;
    color:#202938;
    margin-bottom:8px;
}

.stat-title{
    font-size:16px;
    font-weight:700;
    color:#202938;
}

.stat-text{
    margin-top:6px;
    color:#8b96a8;
    font-size:14px;
}

.section-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-bottom:22px;
    margin-bottom:10px;
    border-bottom:1px solid #ffd3ad;
    box-shadow:0 8px 25px rgba(32,41,56,.05);
}

.section-header h2{
    font-size:24px;
    font-weight:700;
    color:#202938;
}

.section-header a{
    text-decoration:none;
    color:#e77b2c;
    font-weight:600;
    transition:.2s;
}
.section-header a:hover{
    color:#e77b2c;
}

.product-row{
    display:flex;
    align-items:center;
    gap:20px;
    padding:20px 10px;
    border-top:1px solid #ffe4cb;
    transition:.2s;
}

.section-header + .product-row{
    border-top:none;
}

.product-row:hover{
    background:#fffaf5;
}

.product-row img{
    width:72px;
    height:72px;
    flex-shrink:0;
    object-fit:cover;
    border-radius:12px;
}

.product-info{
    flex:1;
}

.product-info h3{
    font-size:16px;
    font-weight:700;
    color:#202938;
    margin-bottom:8px;
}

.product-info span{
    display:block;
    color:#8b96a8;
    font-size:14px;
}

.product-price{
    width:150px;
    flex-shrink:0;
    text-align:right;
    font-size:18px;
    font-weight:700;
    color:#202938;
}

.status{
    width:160px;
    flex-shrink:0;
    text-align:center;
    padding:8px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
}

.status.active{
    background:#eef9ee;
    color:#4ea85c;
}

.status.pending{
    background:#fff4de;
    color:#e77b2c;
}
/* ==========================
      Orders
========================== */

.cabinet-orders{
    margin-top:35px;
    background:#fff;
    border:1px solid #f5d8bb;
    border-radius:24px;
    padding:32px;
    box-shadow:0 15px 40px rgba(32,41,56,.08);
}

.order-row{
    display:flex;
    align-items:center;
    gap:20px;
    padding:20px 10px;
    border-top:1px solid #ffe4cb;
    transition:.2s;
}

.order-row:first-of-type{
    border-top:none;
}

.order-row:hover{
    background:#fffaf5;
}

/* Номер заказа и дата */

.order-id{
    width:120px;
    flex-shrink:0;
}

.order-id strong{
    display:block;
    font-size:16px;
    font-weight:700;
    color:#202938;
}

.order-id span{
    display:block;
    color:#8b96a8;
    font-size:14px;
    margin-top:4px;
}

/* Название товара */

.order-product{
    flex:1;
    font-size:16px;
    font-weight:700;
    color:#202938;
}

/* Цена */

.order-price{
    width:150px;
    flex-shrink:0;
    text-align:right;
    font-size:18px;
    font-weight:700;
    color:#202938;
}

/* Статус */

.order-status{
    width:160px;
    flex-shrink:0;
    text-align:center;
    padding:8px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
}

.order-status.completed{
    background:#eef9ee;
    color:#4ea85c;
}

.order-status.shipping{
    background:#fff4de;
    color:#e77b2c;
}

.order-status.new{
    background:#e9f2ff;
    color:#3d79ff;
}
