:root{
  --bg:#0f1115;
  --surface:#151924;
  --surface-2:#1b2130;
  --text:#e8ecf1;
  --muted:#aab3c2;
  --brand:#c58b4a;
  --brand-2:#f2d2a9;
  --danger:#e25c5c;
  --border:rgba(255,255,255,.10);
  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --radius:16px;
  --radius-sm:12px;
  --max:1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(197,139,74,.25), transparent 60%),
              radial-gradient(900px 600px at 90% 0%, rgba(242,210,169,.18), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.5;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.9}

.container{max-width:var(--max); margin:0 auto; padding:24px}
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.nav{
  position: sticky; top:0;
  backdrop-filter: blur(10px);
  background: rgba(15,17,21,.65);
  border-bottom: 1px solid var(--border);
  z-index:10;
}
.nav-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:700; letter-spacing:.3px;
}
.brand-badge{
  width:34px; height:34px;
  border-radius:12px;
  background: rgba(197,139,74,.2);
  border:1px solid rgba(197,139,74,.35);
  display:grid; place-items:center;
}
.nav-links{display:flex; flex-wrap:wrap; gap:10px; align-items:center}
.pill{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
}
.pill:hover{background: rgba(255,255,255,.06)}

.hdr{
  margin-top:22px;
  padding:26px;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:
    radial-gradient(900px 360px at 20% 10%, rgba(197,139,74,.25), transparent 55%),
    rgba(255,255,255,.02);
}
.hdr h1{margin:0 0 8px 0; font-size:32px}
.hdr p{margin:0; color:var(--muted); max-width:70ch}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
  margin-top:18px;
}
.col-4{grid-column: span 4}
@media (max-width: 960px){ .col-4{grid-column: span 6} }
@media (max-width: 600px){ .col-4{grid-column: span 12} }

.product{
  padding:16px;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  display:flex;
  flex-direction:column;
  gap:10px;
  height:100%;
}
.product img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:var(--radius-sm);
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
}
.product h3{margin:0; font-size:18px}
.meta{display:flex; justify-content:space-between; gap:10px; align-items:center}
.price{font-weight:700}
.muted{color:var(--muted); font-size:14px}

.actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:auto}

.btn{
  appearance:none;
  border:none;
  border-radius:12px;
  padding:10px 12px;
  font-weight:600;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
}
.btn-primary{
  background: linear-gradient(180deg, rgba(197,139,74,1), rgba(165,108,55,1));
  color:#140c05;
}
.btn-primary:hover{filter:brightness(1.05)}
.btn-ghost{
  background: rgba(255,255,255,.04);
  border:1px solid var(--border);
  color:var(--text);
}
.btn-danger{
  background: rgba(226,92,92,.18);
  border:1px solid rgba(226,92,92,.35);
  color:var(--text);
}

.input, select, textarea{
  width:100%;
  background: rgba(255,255,255,.03);
  border:1px solid var(--border);
  color:var(--text);
  border-radius:12px;
  padding:10px 12px;
  outline:none;
}
label{display:block; margin:10px 0 6px; color:var(--muted); font-size:14px}
form .row{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
@media (max-width: 700px){ form .row{grid-template-columns: 1fr} }

.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: var(--radius);
  border:1px solid var(--border);
}
.table th,.table td{
  padding:12px;
  border-bottom:1px solid var(--border);
  text-align:left;
}
.table th{color:var(--muted); font-weight:600; background: rgba(255,255,255,.03)}
.table tr:hover td{background: rgba(255,255,255,.02)}
