:root {
  --bg: #0d0d0f;
  --bg-raised: #17171a;
  --bg-card: #1d1d21;
  --border: #2d2d33;
  --text: #f3f3f3;
  --text-dim: #a3a3ac;
  --accent: #ff4fa8;
  --accent-dim: #d93f8e;
  --accent-teal: #46e0d4;
  --accent-yellow: #c0da0f;
  --venmo: #3d95ce;
  --cashapp: #00d632;
  --radius: 14px;
  --max-width: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
}

h1, h2, h3, .brand-text {
  font-family: 'Bebas Neue', 'Hanken Grotesk', sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0;
}

.accent { color: var(--accent); }
.accent-teal { color: var(--accent-teal); }
.accent-yellow { color: var(--accent-yellow); }

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

img { max-width: 100%; display: block; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 15, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-text {
  font-size: 1.4rem;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.main-nav a:hover { color: var(--text); }

.nav-cta { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.btn:hover { transform: translateY(-1px); opacity: 0.92; }

.btn-accent {
  background: var(--accent);
  color: #0d0d0f;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover { border-color: var(--accent); }

.btn-sm { padding: 9px 14px; font-size: 0.82rem; border-radius: 10px; }

.btn-venmo { background: var(--venmo); color: #fff; }
.btn-cashapp { background: var(--cashapp); color: #042b0b; }
.btn-block { width: 100%; }

.btn[disabled] {
  pointer-events: none;
  opacity: 0.35;
  filter: grayscale(0.6);
}

/* ---------- Hero ---------- */
.hero {
  padding: 90px 24px 70px;
  background: var(--bg) url("../assets/images/bg/hero-bg.jpg") center center / cover no-repeat;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text { flex: 1 1 520px; min-width: 0; }

.hero-visual {
  flex: 0 1 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 100%;
  max-width: 340px;
  transform: rotate(-4deg);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  max-width: 820px;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 22px 0 32px;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Section headings ---------- */
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 8px;
}

.section-sub {
  color: var(--text-dim);
  margin-bottom: 36px;
  max-width: 560px;
}

/* ---------- Shop ---------- */
.shop-section { padding: 80px 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: cardIn 0.35s ease both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-raised);
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-photo.placeholder {
  background: linear-gradient(135deg, var(--ph-a, #22232a), var(--ph-b, #1b1c22));
}

.placeholder-icon { font-size: 2.4rem; opacity: 0.6; }

.placeholder-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: rgba(0,0,0,0.5);
  padding: 4px 8px;
  border-radius: 6px;
  text-align: center;
}

.sold-ribbon {
  position: absolute;
  top: 12px;
  right: -28px;
  background: var(--accent);
  color: #0d0d0f;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 36px;
  transform: rotate(35deg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-name {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}

.product-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 999px;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-teal);
}

.product-desc {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
}

.buy-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.ask-link {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 6px;
  text-decoration: underline;
}

.ask-link:hover { color: var(--accent); }

.grid-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.grid-end-msg {
  color: var(--text-dim);
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- How to buy ---------- */
.howto-section { padding: 70px 0; background: var(--bg-raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.howto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.howto-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.howto-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-teal);
  color: #0d0d0f;
  font-weight: 800;
  margin-bottom: 14px;
}

.howto-card h3 { font-size: 1.05rem; margin-bottom: 8px; font-family: 'Hanken Grotesk', sans-serif; }
.howto-card p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.55; margin: 0; }

.howto-note {
  margin-top: 30px;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.howto-note a { color: var(--accent); text-decoration: underline; }

/* ---------- About ---------- */
.about-section { padding: 80px 0; }

.about-text { max-width: 680px; }

.about-text p { color: var(--text-dim); line-height: 1.7; margin: 18px 0; }

.about-text .btn { margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { padding: 50px 0 24px; border-top: 1px solid var(--border); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 30px;
}

.footer-brand { font-size: 1.3rem; }

.footer-sub { color: var(--text-dim); margin-top: 6px; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.78rem;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ---------- Responsive ---------- */
/* ---------- Filter bar (dropdowns) ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.dropdown-trigger span { color: var(--accent-teal); font-weight: 700; }

.dropdown-trigger:hover { border-color: var(--accent-teal); }

.dropdown-trigger .caret { color: var(--text-dim); transition: transform 0.15s ease; }

.dropdown.open .dropdown-trigger .caret { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 40;
  display: none;
  flex-direction: column;
  gap: 2px;
}

.dropdown.open .dropdown-panel { display: flex; }

.dropdown-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.dropdown-option:hover { background: var(--bg-raised); color: var(--text); }

.dropdown-option.active { color: var(--accent-teal); }

.dropdown-option .opt-count {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.8rem;
}

.filter-count {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin: 0 0 24px;
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero { padding: 60px 20px 50px; }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-visual { order: -1; flex-basis: auto; max-width: 240px; }
  .hero-logo { max-width: 220px; }
  .hero-actions { justify-content: center; }
  .footer-inner { flex-direction: column; }
}
