
:root{--brand:#2f6feb;}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:#f7f7fb;color:#111}
header{background:#fff;border-bottom:1px solid #e6e6ef;position:sticky;top:0;z-index:10}
.container{max-width:1080px;margin:0 auto;padding:16px}
a{color:var(--brand);text-decoration:none}
.brand{font-weight:700;font-size:20px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.card{background:#fff;border:1px solid #e6e6ef;border-radius:14px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.03)}
.card img{display:block;width:100%;height:160px;object-fit:cover;background:#fafafa}
.card .p{padding:12px}
.price{font-weight:700;margin:8px 0}
.btn{display:inline-block;padding:10px 14px;border-radius:10px;border:1px solid #d5d5e0;background:#fff;cursor:pointer}
.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}
nav .links{display:flex;gap:14px;align-items:center}
.badge{display:inline-block;min-width:22px;padding:2px 6px;border-radius:999px;background:#111;color:#fff;font-size:12px;text-align:center}
.table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e6e6ef;border-radius:12px;overflow:hidden}
.table th,.table td{padding:12px;border-bottom:1px solid #eee;text-align:left}
.table tfoot td{font-weight:700}
footer{margin-top:48px;padding:32px 0;color:#666;font-size:14px}
.alert{padding:12px 14px;border-radius:10px;background:#eaf6ff;border:1px solid #bfe0ff;margin-bottom:12px}
input,select{padding:10px;border:1px solid #d5d5e0;border-radius:10px;width:100%}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
hr{border:0;border-top:1px solid #eee;margin:16px 0}
