body{
    margin:0;
    background:#f4f6f9;
    color:#24312b;
    font-family:Segoe UI,Tahoma,sans-serif;
}

.order-shell{
    display:grid;
    grid-template-columns:minmax(0,1fr) 380px;
    gap:24px;
    max-width:1240px;
    margin:0 auto;
    padding:24px;
}

.menu-panel,
.cart-panel{
    min-width:0;
}

.order-header{
    display:flex;
    justify-content:space-between;
    gap:18px;
    align-items:flex-end;
    margin-bottom:20px;
}

.brand-mark{
    width:46px;
    height:46px;
    border-radius:8px;
    background:#4e342e;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    margin-bottom:10px;
}

.order-header h1{
    margin:0;
    font-size:32px;
    font-weight:800;
}

.order-header p{
    margin:4px 0 0;
    color:#68756f;
}

.search-wrap{
    width:min(320px,100%);
    position:relative;
}

.search-wrap i{
    position:absolute;
    left:13px;
    top:50%;
    transform:translateY(-50%);
    color:#7b8781;
}

.search-wrap input{
    width:100%;
    border:1px solid #dce3df;
    border-radius:8px;
    padding:12px 12px 12px 40px;
    outline:none;
}

.menu-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
    gap:14px;
}

.menu-card{
    background:white;
    border:1px solid #e3e9e5;
    border-radius:8px;
    padding:16px;
    position:relative;
    min-height:180px;
    box-shadow:0 10px 24px rgba(39,50,44,.08);
}

.add-button{
    position:absolute;
    top:12px;
    right:12px;
    width:34px;
    height:34px;
    border:none;
    border-radius:8px;
    background:#198754;
    color:white;
}

.menu-icon{
    width:46px;
    height:46px;
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f3eadf;
    color:#795548;
    font-size:24px;
    margin-bottom:14px;
}

.menu-card h3{
    font-size:18px;
    line-height:1.25;
    margin:0 36px 18px 0;
    font-weight:700;
}

.menu-meta{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.menu-meta strong{
    color:#198754;
    font-size:18px;
}

.menu-meta span,
.empty-menu,
.empty-cart{
    color:#6d7973;
}

.cart-sticky{
    position:sticky;
    top:20px;
    background:white;
    border-radius:8px;
    border:1px solid #e3e9e5;
    box-shadow:0 10px 24px rgba(39,50,44,.08);
    padding:18px;
}

.cart-sticky h2{
    font-size:24px;
    font-weight:800;
    margin-bottom:16px;
}

.cart-list{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-bottom:16px;
}

.cart-item{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding-bottom:10px;
    border-bottom:1px solid #edf1ef;
}

.cart-item small{
    display:block;
    color:#198754;
    margin-top:3px;
}

.qty-control{
    display:flex;
    align-items:center;
    gap:8px;
}

.qty-control button{
    width:30px;
    height:30px;
    border:none;
    border-radius:8px;
    background:#eef4f0;
    color:#24312b;
    font-weight:700;
}

.total-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#f7faf8;
    border-radius:8px;
    padding:14px;
    margin-bottom:16px;
}

.total-row strong{
    color:#198754;
    font-size:22px;
}

.payment-options{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.payment-options label{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:8px;
}

.order-result{
    margin-top:14px;
    border-radius:8px;
    background:#eaf7ef;
    color:#145c32;
    padding:12px;
}

.order-result span,
.order-result a{
    display:block;
}

@media(max-width:900px){
    .order-shell{
        grid-template-columns:1fr;
        padding:16px;
    }

    .order-header{
        align-items:stretch;
        flex-direction:column;
    }

    .cart-sticky{
        position:static;
    }
}
