:root{
  --gold:#C9A227;
  --gold-200:#f5c518;
  --bg:#0d0d0f;
  --bg2:#151518;
  --panel:#101012;
  --ink:#fff;
  --muted:#c7c7c7;
  --stroke:rgba(201,162,39,.18);
  --stroke2:rgba(255,255,255,.08);
  --glow:0 0 18px rgba(201,162,39,.55);
  --shadow:0 16px 40px rgba(0,0,0,.55);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background:radial-gradient(1200px 500px at 30% 0%, rgba(201,162,39,.10), transparent 55%), var(--bg);
  color:var(--ink);
}
a{text-decoration:none;color:inherit}

.container{max-width:1100px;margin:auto;padding:2rem}
.page-title{color:var(--gold-200);margin:0 0 8px}
.muted{color:var(--muted);line-height:1.6;margin:0}

.head{margin-top:1.2rem}

.search-bar{
  margin-top:1rem;
  display:flex;
  gap:10px;
  align-items:center;
}
.search-bar input{
  flex:1;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(15,15,15,.75);
  color:#fff;
  outline:none;
}
.search-bar input:focus{
  border-color:rgba(201,162,39,.45);
  box-shadow:0 0 0 2px rgba(201,162,39,.20);
}

.btn{
  padding:10px 16px;
  border:none;
  cursor:pointer;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  letter-spacing:.2px;
  transition:.18s ease;
}
.btn.solid{
  background:linear-gradient(180deg,var(--gold-200),var(--gold));
  color:#14110a;
}
.btn.solid:hover{filter:brightness(1.05);box-shadow:var(--glow);transform:translateY(-1px)}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(270px, 1fr));
  gap:18px;
  margin-top:1.6rem;
}

.card{
  background:linear-gradient(180deg, rgba(255,255,255,.02), transparent), var(--bg2);
  border:1px solid var(--stroke);
  border-radius:18px;
  padding:16px;
  box-shadow:0 0 0 1px rgba(0,0,0,.25) inset;
  transition:.2s transform, .2s box-shadow, .2s border-color;
  display:flex;
  flex-direction:column;
  min-height: 320px;
}
.card:hover{
  transform:translateY(-3px);
  border-color:rgba(201,162,39,.32);
  box-shadow:var(--shadow);
}

.card h3{
  margin:0;
  color:var(--gold-200);
  font-size:1.12rem;
  letter-spacing:.2px;
}

.pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0 12px;
}
.pill{
  border:1px solid rgba(201,162,39,.25);
  background:rgba(201,162,39,.08);
  color:#e9ddaa;
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:.85rem;
}

.desc{
  color:#ddd;
  line-height:1.55;
  margin:0 0 12px;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.meta{
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.06);
}
.price{
  font-weight:950;
  color:#fff;
}
.rating{
  color:#ffb547;
  font-weight:900;
}

.card .actions{
  display:flex;
  gap:10px;
  margin-top:12px;
}
.card .actions a{
  width:100%;
  text-align:center;
  padding:11px 14px;
  border-radius:12px;
  font-weight:900;
  border:1px solid rgba(201,162,39,.45);
  color:var(--gold-200);
  transition:.18s ease;
}
.card .actions a:hover{
  background:rgba(201,162,39,.10);
  box-shadow:var(--glow);
  transform:translateY(-1px);
}

.empty{
  margin-top:2rem;
  text-align:center;
  padding:1.2rem;
  border-radius:16px;
  border:1px solid rgba(255,215,0,.12);
  background:#151515;
}
.hidden{display:none !important}

.footer{
  padding:1rem;
  text-align:center;
  background:#000;
  color:#777;
  border-top:1px solid rgba(201,162,39,.18);
  margin-top:2rem;
}

@media (max-width: 720px){
  .container{padding:1.3rem}
  .search-bar{flex-direction:column}
  .search-bar .btn{width:100%}
}
/* =========================
   ADD-ON (for upgraded HTML)
   Paste at END of file
   ========================= */

.head-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.head-badge{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:4px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  font-weight:950;
  letter-spacing:.2px;
  background:linear-gradient(180deg,var(--gold-200),var(--gold));
  color:#14110a;
  box-shadow:0 0 12px rgba(245,197,24,.18);
}

.badge.ghost{
  background:rgba(0,0,0,.25);
  color:var(--gold-200);
  border:1px solid rgba(201,162,39,.35);
  box-shadow:none;
}

.filters{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.filters select{
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(15,15,15,.75);
  color:#fff;
  outline:none;
  min-width:180px;
}

.filters select:focus{
  border-color:rgba(201,162,39,.45);
  box-shadow:0 0 0 2px rgba(201,162,39,.20);
}

.btn.ghost{
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
}

.btn.ghost:hover{
  border-color:rgba(201,162,39,.45);
  box-shadow:0 0 0 2px rgba(201,162,39,.12);
  transform:translateY(-1px);
}

.hint{
  margin-top:10px;
  font-size:.92rem;
  opacity:.9;
}

/* Empty card */
.empty-card{
  max-width:520px;
  margin:0 auto;
  padding:18px 16px;
  border-radius:16px;
  border:1px solid rgba(201,162,39,.18);
  background:linear-gradient(180deg, rgba(255,255,255,.02), transparent), var(--bg2);
  box-shadow:0 0 0 1px rgba(0,0,0,.25) inset;
}

.empty-card h2{ margin:0 0 8px; color:var(--gold-200); }

@media (max-width: 720px){
  .head-top{ flex-direction:column; }
  .filters{ flex-direction:column; align-items:stretch; }
  .filters select{ width:100%; min-width:unset; }
  .filters .btn{ width:100%; }
}
