* { box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f3ec;
    margin: 0;
    color: #2b2320;
}
.container { max-width: 640px; margin: 0 auto; padding: 16px; }
.header {
    background: #b5432a; color: #fff; padding: 20px 16px;
    text-align: center; border-radius: 0 0 16px 16px;
}
.header img { max-height: 60px; margin-bottom: 8px; border-radius: 8px; }
.header h1 { margin: 0; font-size: 20px; }

.category-title {
    font-size: 16px; font-weight: 700; margin: 20px 0 8px; color: #b5432a;
    border-bottom: 2px solid #eadfce; padding-bottom: 4px;
}
.item-card {
    display: flex; gap: 12px; background: #fff; border-radius: 12px;
    padding: 10px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    align-items: center;
}
.item-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.item-info { flex: 1; }
.item-info .name { font-weight: 600; }
.item-info .desc { font-size: 12px; color: #776b60; }
.item-info .price { font-weight: 700; color: #b5432a; margin-top: 4px; }
.item-actions { display: flex; align-items: center; gap: 6px; }
.qty-btn {
    width: 28px; height: 28px; border-radius: 50%; border: none;
    background: #b5432a; color: #fff; font-size: 16px; cursor: pointer;
}
.qty-val { min-width: 20px; text-align: center; font-weight: 600; }
.unavailable-tag { font-size: 11px; color: #a33; font-weight: 600; }

.cart-bar {
    position: sticky; bottom: 0; background: #2b2320; color: #fff;
    padding: 12px 16px; border-radius: 12px 12px 0 0; margin-top: 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.btn {
    display: inline-block; background: #b5432a; color: #fff; border: none;
    padding: 10px 18px; border-radius: 8px; font-size: 14px; cursor: pointer;
    text-decoration: none;
}
.btn.secondary { background: #6b6259; }
.btn.wa { background: #25D366; }
.btn.sms { background: #2b7de9; }

.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 13px; margin-bottom: 4px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid #ddd; font-size: 14px;
}

table.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
table.data-table th, table.data-table td { padding: 8px 10px; border-bottom: 1px solid #eee; text-align: left; font-size: 13px; }
table.data-table th { background: #eadfce; }

.badge { padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge.pending { background: #fde8d3; color: #a35c00; }
.badge.confirmed { background: #d3ecfd; color: #0060a3; }
.badge.completed { background: #d4f5d4; color: #1a7a1a; }
.badge.cancelled { background: #f5d4d4; color: #a31a1a; }

nav.topbar { background: #2b2320; padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; }
nav.topbar a { color: #fff; text-decoration: none; margin-left: 12px; font-size: 14px; }
