
:root{--bg:#f7f8fc;--ink:#0e1220;--muted:#6b7390;--brand:#6b8cff;--card:#ffffff}
*{box-sizing:border-box} body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
header{background:linear-gradient(90deg,#6b8cff,#9be2ff);color:#fff;padding:18px}
.nav{max-width:1100px;margin:0 auto;display:flex;gap:12px;align-items:center;justify-content:space-between}
.nav a{color:#fff;text-decoration:none;margin-inline:8px}
main{max-width:1100px;margin:24px auto;padding:0 16px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.card{background:var(--card);border:1px solid #e7ebf5;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.05);overflow:hidden;display:flex;flex-direction:column}
.card .img{aspect-ratio:1/1;background:#eef3ff}
.card img{width:100%;height:100%;object-fit:cover}
.inner{padding:14px}
.meta{display:flex;gap:8px;align-items:center;color:var(--muted)}
.price{font-weight:800}
.stock{margin-top:.25rem}.out{color:#b00020}
.actions{margin-top:auto;display:flex;gap:8px}
button,a.btn{flex:1;text-align:center;text-decoration:none;padding:.7rem;border:0;border-radius:12px;background:#111;color:#fff;cursor:pointer}
a.btn.secondary{background:#f1f3f7;color:#111;border:1px solid #e3e7f3}
.footer{max-width:1100px;margin:36px auto;padding:0 16px 60px;color:#737b91}
input.search, .input, textarea{width:100%;padding:.9rem;border:1px solid #e0e4ee;border-radius:12px;background:#fff}
label{display:block;margin:.6rem 0 .3rem;color:#3c4562}
.form-card{background:#fff;border:1px solid #e7ebf5;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.05);padding:18px;max-width:760px}
.btn-primary{background:var(--brand)!important;color:#fff!important;border:0!important}
.badge{display:inline-block;padding:.1rem .5rem;border-radius:999px;background:#eef2ff;border:1px solid #dfe5ff;color:#49508a;font-size:.75rem}
.topbar{display:flex;gap:10px;align-items:center;justify-content:space-between;margin:8px 0 16px}
.alert{padding:12px 14px;background:#fff1f1;border:1px solid #ffd0d0;color:#8b1a1a;border-radius:12px}
