* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background: #f6f7f9; margin: 0; }
.container { max-width: 1100px; margin: 32px auto; background: #fff; padding: 24px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; }
.btn { padding: 10px 12px; border-radius: 10px; background: #111; color: #fff; border: none; cursor: pointer; text-decoration: none; display: inline-block; }
.btn.secondary { background: #666; }
.btn.primary { background: #2563eb; }
.filters { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 16px; }
.filters input, .filters select { padding: 10px; border: 1px solid #ddd; border-radius: 10px; }
.table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px; border-bottom: 1px solid #eee; vertical-align: top; text-align: left; }
.meta { color: #555; margin: 8px 0; }
.pagination { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 16px; }
.pagination .btn { background: #fafafa; color: #111; border: 1px solid #ddd; }
.qty { width: 70px; padding: 8px; border: 1px solid #ddd; border-radius: 8px; }
.drawer { position: fixed; top: 0; right: 0; height: 100vh; width: 420px; background: #fff; box-shadow: -10px 0 30px rgba(0,0,0,0.15); transform: translateX(100%); transition: transform .25s ease; }
.drawer:not(.hidden) { transform: translateX(0); }
.drawer-content { padding: 16px; height: 100%; display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; }
.cart-item { display: grid; grid-template-columns: 1fr 80px 90px; gap: 8px; padding: 8px 0; border-bottom: 1px solid #eee; }
.cart-footer { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
@media (max-width: 900px) {
  .filters { grid-template-columns: 1fr 1fr; }
  .drawer { width: 100vw; }
}
