@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --bg: #080808;
  --surface: #111111;
  --card: #161616;
  --card-hover: #1C1C1C;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --gold: #D4A843;
  --gold-light: #E8C06A;
  --gold-bg: rgba(212,168,67,0.1);
  --text: #F0F0F0;
  --text-muted: #777;
  --text-dim: #444;
  --green: #3DD68C;
  --green-bg: rgba(61,214,140,0.1);
  --red: #F06060;
  --radius: 10px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

h1,h2,h3,h4 { font-family: 'Syne', sans-serif; }

a { text-decoration: none; color: inherit; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 32px; height: 60px;
}
.nav-logo { font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-muted); }
.nav-links a:hover { color: var(--text); transition: color .2s; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cart {
  display: flex; align-items: center; gap: 8px;
  background: var(--gold); color: #000;
  border: none; border-radius: var(--radius);
  padding: 8px 18px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: background .2s;
}
.nav-cart:hover { background: var(--gold-light); }
.cart-count {
  background: #000; color: var(--gold);
  border-radius: 50%; width: 18px; height: 18px;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--radius); font-size: 14px; font-weight: 500;
  padding: 11px 24px; cursor: pointer; transition: all .2s;
  font-family: 'DM Sans', sans-serif; border: none;
}
.btn-gold { background: var(--gold); color: #000; font-weight: 700; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border-hover); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-green { background: var(--green); color: #000; font-weight: 700; }
.btn-green:hover { opacity: .9; }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* ── BADGE ── */
.badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; letter-spacing: .3px;
  font-family: 'Syne', sans-serif;
}
.badge-gold { background: var(--gold-bg); color: var(--gold); border: 1px solid var(--gold); }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-red { background: rgba(240,96,96,0.1); color: var(--red); }

/* ── SECTION ── */
.section { padding: 48px 32px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.section-title { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700; }
.see-all { font-size: 13px; color: var(--gold); cursor: pointer; }
.see-all:hover { text-decoration: underline; }

/* ── PRODUCT CARD ── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.prod-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; transition: all .25s; position: relative;
  display: flex; flex-direction: column;
}
.prod-card:hover { border-color: var(--border-hover); background: var(--card-hover); transform: translateY(-3px); }
.prod-thumb {
  height: 120px; display: flex; align-items: center; justify-content: center;
  font-size: 44px;
}
.prod-body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.prod-name { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 600; line-height: 1.3; }
.prod-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.prod-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.prod-price { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; color: var(--gold); }
.prod-price.free { color: var(--green); }
.prod-og { font-size: 11px; color: var(--text-dim); text-decoration: line-through; }
.prod-add-btn {
  background: var(--gold-bg); color: var(--gold); border: 1px solid var(--gold);
  width: 32px; height: 32px; border-radius: 8px; font-size: 18px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.prod-add-btn:hover { background: var(--gold); color: #000; }
.prod-top-badge { position: absolute; top: 10px; left: 10px; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-muted);
}
footer a { color: var(--text-muted); }
footer a:hover { color: var(--gold); }
.footer-links { display: flex; gap: 20px; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  background: var(--card); border: 1px solid var(--gold);
  color: var(--text); padding: 12px 20px; border-radius: var(--radius);
  font-size: 13px; font-weight: 500; display: none; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: slideUp .3s ease;
}
.toast.show { display: flex; }
@keyframes slideUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 0 32px; }

/* ── FORM INPUTS ── */
input, select, textarea {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 11px 14px;
  color: var(--text); font-family: 'DM Sans', sans-serif;
  font-size: 14px; width: 100%; outline: none; transition: border .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
label { font-size: 13px; color: var(--text-muted); display: block; margin-bottom: 6px; }
.form-group { margin-bottom: 16px; }

@media (max-width: 768px) {
  nav { padding: 0 16px; }
  .nav-links { display: none; }
  .section { padding: 32px 16px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  footer { flex-direction: column; gap: 12px; text-align: center; }
}
