:root { --brand:#c62828; --brand-alt:#757575; }
*{box-sizing:border-box}
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Helvetica,Arial,sans-serif;margin:0;background:#f6f7f9;color:#111}
a{color:var(--brand);text-decoration:none}
.container{max-width:980px;margin:0 auto;padding:16px}
header{background:#fff;border-bottom:1px solid #e5e7eb}
header .container{display:flex;align-items:center;justify-content:space-between}
h1{font-size:20px;margin:8px 0}
h2{margin-top:24px}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px;margin:16px 0;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.grid{display:grid;gap:12px;grid-template-columns:1fr 1fr}
.grid.two{grid-template-columns:2fr 1fr}
.grid.two.compact{grid-template-columns:2fr 1fr}
.two-col{grid-column:1 / -1}
label{display:block;font-weight:600;margin-bottom:4px}
input[type=text],input[type=email],input[type=number],select,textarea{width:100%;padding:10px;border:1px solid #d1d5db;border-radius:8px;background:#fff}
.checkbox label{font-weight:400}
.button,button{display:inline-block;padding:10px 14px;border-radius:10px;border:1px solid var(--brand);background:var(--brand);color:#fff;font-weight:600;cursor:pointer}
.button.ghost{background:transparent;color:var(--brand)}
button.danger{background:#b00020;border-color:#b00020}
.alert{padding:10px 12px;border-radius:10px;margin:8px 0}
.alert.error{background:#fdecea;color:#611a15}
.alert.success{background:#ecfdf5;color:#065f46}
.price-bar{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding-top:12px;border-top:1px dashed #e5e7eb}
.cart-table{width:100%;border-collapse:collapse;background:#fff}
.cart-table th,.cart-table td{border-bottom:1px solid #eee;padding:10px;vertical-align:top}
.cart-table tfoot td{border:none}
.cart-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:12px}
.mini-list{list-style:none;padding:0;margin:0}
.mini-list li{padding:8px 0;border-bottom:1px solid #eee}
.right{text-align:right}
@media (max-width:800px){
  .grid{grid-template-columns:1fr}
  .grid.two{grid-template-columns:1fr}
  header .container{flex-direction:column;gap:8px}
}
