/* ==========================================================
   BudFellas - style.css
   Black & Gold Luxury Theme
   Jet black + gold accents for a high-end luxury look
   ========================================================== */

:root {
  --bg: #06030a;
  --bg-2: #0d0816;
  --panel: rgba(212, 175, 55, 0.06);
  --line: rgba(212, 175, 55, 0.35);
  --accent: #d4af37;
  --accent-soft: #f2e5bc;
  --gold-deep: #bfa46a;
  --gold: #d4af37;
  --gold-light: #fff3b0;
  --champagne: #f8f6f1;
  --text: #faf8ff;
  --muted: #a49ab8;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  --glow-gold: 0 0 24px rgba(212, 175, 55, 0.45);
  --glow-gold-soft: 0 0 28px rgba(212, 175, 55, 0.35);
  --font-head: 'Cinzel', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; }

.accent { color: var(--accent-soft); }

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  text-align: center;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  text-shadow: 0 0 22px rgba(212, 175, 55, 0.45);
}
.section-title.left { text-align: left; }
.section-sub {
  text-align: center; color: var(--muted); margin-bottom: 30px;
  max-width: 640px; margin-left: auto; margin-right: auto;
}

/* ==========================================================
   Age Gate
   ========================================================== */
#ageGate {
  position: fixed; inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.25), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(212, 175, 55, 0.12), transparent 45%),
    linear-gradient(180deg, #0d0816, #020104 80%);
  color: var(--text);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  z-index: 9999;
}
#ageGate img { border-radius: 24px; filter: drop-shadow(0 0 28px rgba(212, 175, 55, 0.6)); }
#ageGate h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 20px 0 10px; color: var(--accent-soft); text-shadow: 0 0 26px rgba(168,85,247,.6); }
#ageGate p { font-size: 1.1rem; color: var(--muted); max-width: 480px; }
.age-confirm { margin-top: 22px; display: flex; align-items: center; gap: 10px; }
.age-confirm input { transform: scale(1.5); accent-color: var(--accent); }
.age-confirm label { font-size: 1.05rem; }
.age-submit {
  margin-top: 24px; padding: 12px 34px; font-size: 1.05rem; font-weight: 700;
  border-radius: 999px; border: none;
  background: linear-gradient(135deg, var(--accent), var(--gold-deep));
  color: #fff; cursor: pointer;
  box-shadow: var(--glow-gold);
  transition: transform .2s, box-shadow .2s;
}
.age-submit:hover { transform: translateY(-2px); box-shadow: 0 0 34px rgba(212, 175, 55, 0.55); }

/* ==========================================================
   Sticky Header - announcement bar + navbar stay on scroll
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 3, 10, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6), 0 1px 0 var(--line);
}

.announcement-bar {
  background: linear-gradient(90deg, #bfa46a, #d4af37, #e6c66e, #fff3b0, #bfa46a);
  background-size: 400% auto;
  color: #06030a;
  font-weight: 800;
  overflow: hidden;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  animation: sheen 10s linear infinite;
}
@keyframes sheen { to { background-position: 400% center; } }

.announcement-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  padding: 8px 0;
  animation: marquee 36s linear infinite;
}
.announcement-track span { padding: 0 2rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 4%;
  max-width: 1400px;
  margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 800; color: var(--text);
}
.logo img {
  border-radius: 10px;
  filter: drop-shadow(0 0 14px rgba(178, 107, 255, 0.6));
}

.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.98rem; transition: color .2s; }
.nav-links a:hover { color: var(--accent-soft); text-shadow: 0 0 12px rgba(168,85,247,.7); }

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--gold-deep));
  color: #fff; font-weight: 700;
  padding: 10px 22px; border-radius: 999px; font-size: 0.95rem;
  box-shadow: var(--glow-gold);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--glow-gold-soft); }

.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--line); color: var(--text);
  font-size: 1.4rem; width: 42px; height: 42px; border-radius: 10px;
}

/* Mobile drawer */
.menu-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.7);
  opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 1001;
}
.menu-backdrop.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: #0d0816; border-left: 1px solid var(--line);
  z-index: 1002; transition: right .3s;
  padding: 90px 30px 30px; display: flex; flex-direction: column; gap: 4px;
}
.drawer.show { right: 0; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.drawer-nav a:hover { color: var(--accent-soft); }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  min-height: max(560px, 68vh);
  display: flex; align-items: center;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(212, 175, 55, 0.3), transparent 60%),
    radial-gradient(700px 480px at 0% 110%, rgba(212, 175, 55, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(6, 3, 10, 0.45), rgba(6, 3, 10, 0.88)),
    url('../background.png') center 30% / cover no-repeat;
  padding: 70px 6%;
}
.hero-inner { width: min(900px, 100%); }
.hero-kicker {
  display: inline-block;
  color: var(--accent-soft); font-weight: 700; letter-spacing: .18em; font-size: .82rem;
  border: 1px solid rgba(178, 107, 255, 0.45); padding: 8px 16px; border-radius: 999px;
  margin-bottom: 22px; text-transform: uppercase;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.7);
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 20px; text-shadow: 0 0 30px rgba(212, 175, 55, 0.35); }
.hero-sub {
  color: #ece8f7;
  font-size: 1.12rem;
  max-width: 620px;
  margin-bottom: 30px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 3px solid var(--accent);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.45);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.btn {
  display: inline-block; font-weight: 700; border-radius: 999px;
  padding: 14px 30px; font-size: 1rem; transition: transform .2s, box-shadow .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--gold-deep)); color: #fff; box-shadow: var(--glow-gold); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow-gold-soft); }
.btn-ghost { border: 2px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-soft); box-shadow: var(--glow-gold); }

.hero-trust { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-trust span {
  background: rgba(212, 175, 55, 0.08); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 10px; font-size: .9rem; color: var(--muted);
}

/* ==========================================================
   Sections base
   ========================================================== */
section { padding: 72px 6%; }
.how-section, .shipping-section, .payments-section { background: var(--bg-2); }

/* How it works */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; max-width: 1100px; margin: 0 auto; }
.how-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.how-card:hover { transform: translateY(-6px); border-color: rgba(212, 175, 55, 0.6); box-shadow: 0 0 30px rgba(212, 175, 55, 0.18); }
.how-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold-deep)); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 16px;
  box-shadow: var(--glow-gold);
}
.how-card h3 { margin-bottom: 10px; color: var(--text); }
.how-card p { color: var(--muted); font-size: .95rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; max-width: 1100px; margin: 0 auto; }
.about-copy p { color: var(--muted); margin-bottom: 14px; max-width: 62ch; }
.about-list { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.about-list li { color: var(--text); }
.about-card {
  background: linear-gradient(160deg, #150d24, #08040f);
  border: 1px solid rgba(178, 107, 255, 0.45); border-radius: 24px;
  padding: 44px 30px; text-align: center;
  box-shadow: var(--shadow), 0 0 34px rgba(212, 175, 55, 0.22);
}
.about-card img { width: 230px; margin: 0 auto 18px; border-radius: 16px; filter: drop-shadow(0 0 24px rgba(178, 107, 255, 0.7)); }
.about-card h3 { font-size: 1.8rem; color: var(--accent-soft); margin-bottom: 8px; text-shadow: 0 0 18px rgba(168,85,247,.6); }
.about-card p { color: var(--muted); font-size: .95rem; }

/* Products */
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter-btn {
  background: transparent; color: var(--muted);
  border: 1px solid var(--line); padding: 10px 20px;
  border-radius: 999px; font-weight: 600; transition: all .2s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent-soft); }
.filter-btn.active { background: linear-gradient(135deg, var(--accent), var(--gold-deep)); color: #fff; border-color: transparent; box-shadow: var(--glow-gold); }

.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px; max-width: 1200px; margin: 0 auto 40px;
}
.product-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(178, 107, 255, 0.8); box-shadow: 0 0 32px rgba(212, 175, 55, 0.25); }
.product-card .thumb {
  height: 180px; background: linear-gradient(140deg, #1a1030, #0a0614);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.product-card .thumb img { height: 130px; width: auto; filter: drop-shadow(0 12px 20px rgba(0,0,0,.65)); }
.product-card .badge {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--pink), var(--orange)); color: #12030a;
  font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.5);
}
.product-card .body { padding: 18px; }
.product-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.product-card .cat { color: var(--accent-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.product-card .price { color: var(--yellow); font-weight: 700; margin-top: 8px; text-shadow: 0 0 14px rgba(255, 255, 77, 0.45); }
.view-all-wrapper { text-align: center; }

/* Category cards (index menu) */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 40px;
}
.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 30px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(178, 107, 255, 0.8);
  box-shadow: 0 0 32px rgba(212, 175, 55, 0.25);
}
.cat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold-deep));
  color: #fff; font-size: 2rem;
  box-shadow: var(--glow-gold);
}
.cat-name {
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

/* Shipping */
.ship-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
.ship-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
  transition: transform .25s, border-color .25s;
}
.ship-card:hover { transform: translateY(-6px); border-color: rgba(255, 140, 0, 0.6); box-shadow: 0 0 26px rgba(255, 140, 0, 0.15); }
.ship-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.ship-card h3 { color: var(--text); margin-bottom: 8px; font-size: 1.1rem; }
.ship-card p { color: var(--muted); font-size: .92rem; }

/* Reviews */
.reviews-wrap { display: flex; align-items: center; gap: 14px; max-width: 1200px; margin: 0 auto; }
.reviews-scroll {
  display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth;
  padding: 8px 4px 18px; scrollbar-width: thin;
}
.review-card {
  min-width: 300px; max-width: 340px; flex: 0 0 auto;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.review-card .stars { color: var(--yellow); letter-spacing: 2px; margin-bottom: 10px; text-shadow: 0 0 12px rgba(255, 225, 77, 0.55); }
.review-card h4 { color: var(--accent-soft); margin-bottom: 8px; }
.review-card p { color: var(--muted); font-size: .94rem; }
.scroll-btn {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold-deep)); color: #fff;
  font-size: 1.4rem; border: none; box-shadow: var(--glow-gold);
  transition: transform .2s, box-shadow .2s;
}
.scroll-btn:hover { transform: scale(1.1); box-shadow: var(--glow-gold-soft); }

/* Payments */
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.pay-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 24px; text-align: center;
  transition: transform .25s, border-color .25s;
}
.pay-card:hover { transform: translateY(-6px); border-color: rgba(178, 107, 255, 0.8); }
.pay-icon { font-size: 2.2rem; display: block; margin-bottom: 12px; }
.pay-card h3 { margin-bottom: 8px; }
.pay-card p { color: var(--muted); font-size: .92rem; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%; background: transparent; border: none; color: var(--text);
  font-family: var(--font-head); font-size: 1.05rem; text-align: left;
  padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-chevron { color: var(--accent-soft); transition: transform .25s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 20px 18px; color: var(--muted); font-size: .95rem; }
.faq-item.open .faq-a { max-height: 400px; }

/* Terms */
.terms-card {
  max-width: 900px; margin: 0 auto;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px;
  display: grid; gap: 8px;
}
.terms-card h3 { color: var(--accent-soft); margin-top: 14px; font-size: 1.05rem; }
.terms-card p { color: var(--muted); font-size: .95rem; }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer {
  background: #030208; border-top: 1px solid var(--line);
  padding: 56px 6% 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; max-width: 1200px; margin: 0 auto 40px; }
.footer-grid .logo { margin-bottom: 12px; }
.footer-grid p { color: var(--muted); font-size: .92rem; max-width: 40ch; }
.footer-grid h4 { color: var(--text); margin-bottom: 14px; font-size: 1rem; }
.footer-grid a { display: block; color: var(--muted); padding: 4px 0; transition: color .2s; }
.footer-grid a:hover { color: var(--accent-soft); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 20px;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  color: var(--muted); font-size: .85rem; max-width: 1200px; margin: 0 auto;
}

/* ==========================================================
   Animations — clean, professional reveal system
   ========================================================== */

/* Single element fade-up on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

/* Staggered groups: children fade-up one after another */
.reveal-group > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1) var(--d, 0ms), transform .7s cubic-bezier(.22,.61,.36,1) var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal-group.visible > * { opacity: 1; transform: none; }

.reveal-group > :nth-child(1) { --d: 0ms; }
.reveal-group > :nth-child(2) { --d: 70ms; }
.reveal-group > :nth-child(3) { --d: 140ms; }
.reveal-group > :nth-child(4) { --d: 210ms; }
.reveal-group > :nth-child(5) { --d: 280ms; }
.reveal-group > :nth-child(6) { --d: 350ms; }
.reveal-group > :nth-child(7) { --d: 420ms; }
.reveal-group > :nth-child(8) { --d: 490ms; }
.reveal-group > :nth-child(9) { --d: 560ms; }
.reveal-group > :nth-child(10) { --d: 630ms; }

/* Hero entrance — starts once the age gate is passed (body.age-done) */
.load-item {
  opacity: 0;
  animation: riseIn .8s cubic-bezier(.22,.61,.36,1) forwards;
  animation-play-state: paused;
}
body.age-done .load-item { animation-play-state: running; }
.load-item.kicker { animation-delay: .05s; }
.load-item.t1 { animation-delay: .15s; }
.load-item.t2 { animation-delay: .25s; }
.load-item.t3 { animation-delay: .35s; }
.load-item.t4 { animation-delay: .45s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* Nav link underline slide */
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--pink));
  box-shadow: 0 0 8px rgba(212, 175, 55, .6);
  transition: width .3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* Product image zoom on hover */
.product-card .thumb { overflow: hidden; }
.product-card .thumb img { transition: transform .5s ease; }
.product-card:hover .thumb img { transform: scale(1.1); }

/* Button sheen sweep */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute; top: 0; left: -120%; height: 100%; width: 60%;
  background: linear-gradient(115deg, transparent, rgba(248,246,241,0.35), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn-primary:hover::after { left: 130%; }

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .reveal, .reveal-group > * { opacity: 1; transform: none; }
}

/* Product detail fade-in */
.product-detail { transition: opacity .6s ease; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .hero { padding: 50px 6%; min-height: 520px; }
  .reviews-scroll .review-card { min-width: 260px; }
}

/* ==========================================================
   Products Page — Search, Filter & Sort System
   Neon noir theme matching robinherb functionality
   ========================================================== */

.products-wrap {
  max-width: 1100px;
  margin: 30px auto 40px;
  padding: 0 16px;
}

.top-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

/* --- Search --- */
.search-wrap {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}
.search-bar {
  width: 100%;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0b0815;
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.search-bar::placeholder { color: var(--muted); opacity: .7; }
.search-bar:focus {
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
}
.search-suggest {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  margin-top: 6px;
  background: #0d0816;
  border: 1px solid var(--line);
  border-radius: 12px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 50;
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
}
.suggest-item {
  padding: 12px 18px;
  color: var(--text);
  font-size: .95rem;
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.suggest-item:last-child { border-bottom: none; }
.suggest-item:hover { background: rgba(212, 175, 55, 0.12); }

/* --- Category icon row --- */
.category-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 4px 0 8px;
}
.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  cursor: pointer;
  transition: transform .2s;
}
.category-item:hover { transform: translateY(-3px); }
.category-item .cat-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold-deep));
  padding: 2px;
  box-shadow: var(--glow-gold);
  transition: box-shadow .25s, transform .25s;
}
.category-item .cat-circle img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0b0815;
  display: block;
}
.category-item:hover .cat-circle {
  transform: scale(1.05);
}
.category-item.active .cat-circle {
  box-shadow: var(--glow-gold-soft);
}
.category-item span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s;
}
.category-item.active span { color: var(--text); }

/* --- Filter / Sort bar --- */
.fs-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.fs-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0b0815;
  color: var(--text);
  font-weight: 600;
  font-size: .92rem;
  transition: border-color .2s, box-shadow .2s;
}
.fs-btn:hover { border-color: var(--accent); box-shadow: 0 0 14px rgba(168,85,247,.2); }
.fs-badge {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 0 6px;
}
.fs-sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fs-sort-label { color: var(--muted); font-size: .88rem; font-weight: 600; }
.fs-select {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0b0815;
  color: var(--text);
  font-size: .9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .2s;
  cursor: pointer;
}
.fs-select:focus { border-color: var(--accent); }
.fs-clear {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: transparent;
  color: var(--pink);
  font-weight: 600;
  font-size: .88rem;
  transition: background .2s, color .2s;
}
.fs-clear:hover { background: rgba(255,45,149,.12); }

/* --- Active filter chips --- */
.chips-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 14px;
}
.chip-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--accent-soft);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.chip-active:hover { background: rgba(212, 175, 55, 0.3); }
.chip-x { font-size: 1rem; opacity: .7; }
.chip-clear-all {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,45,149,.12);
  border: 1px solid rgba(255,45,149,.35);
  color: var(--pink);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.chip-clear-all:hover { background: rgba(255,45,149,.22); }

/* --- Result count --- */
.result-count {
  color: var(--muted);
  font-size: .88rem;
  text-align: center;
  margin-bottom: 18px;
}

/* --- Filter panel (slide-in) --- */
.filter-panel {
  position: fixed;
  top: 0; right: -380px;
  width: 360px; height: 100vh;
  background: #0b0815;
  border-left: 1px solid var(--line);
  z-index: 2000;
  overflow-y: auto;
  padding: 24px 22px 32px;
  transition: right .3s cubic-bezier(.4,0,.2,1);
  box-shadow: -10px 0 40px rgba(0,0,0,.5);
}
.filter-panel.open { right: 0; }
.fp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.fp-head h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--text);
}
.fp-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color .2s;
  line-height: 1;
}
.fp-close:hover { color: var(--text); }
.fp-group {
  border: none;
  margin-bottom: 20px;
}
.fp-group legend {
  color: var(--accent-soft);
  font-weight: 700;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
  width: 100%;
}
.fp-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fp-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s;
  font-size: .92rem;
  color: var(--text);
}
.fp-opt:hover { background: rgba(168,85,247,.1); }
.fp-opt input[type="checkbox"],
.fp-opt input[type="radio"] {
  accent-color: var(--accent);
  width: 16px; height: 16px;
}
.fp-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.fp-action {
  flex: 1;
  padding: 12px 0;
  border-radius: 12px;
  font-weight: 700;
  font-size: .92rem;
  text-align: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.fp-action-clear {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
}
.fp-action-clear:hover { border-color: var(--accent); color: var(--text); }
.fp-action-apply {
  background: linear-gradient(135deg, var(--accent), var(--gold-deep));
  border: none;
  color: #fff;
  box-shadow: var(--glow-gold);
}
.fp-action-apply:hover { transform: translateY(-1px); box-shadow: var(--glow-gold-soft); }

/* --- Product grid (new system) --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .25s;
}
.card-link:hover { transform: translateY(-4px); }
.card-link.disabled-link { pointer-events: none; opacity: .55; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .25s, box-shadow .25s;
}
.card:hover { border-color: rgba(178,107,255,.7); box-shadow: 0 0 28px rgba(168,85,247,.18); }
.card .img-wrap {
  height: 190px;
  background: linear-gradient(140deg, #1a1030, #0a0614);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .img-wrap img { transform: scale(1.08); }
.card .meta {
  padding: 14px 16px;
  flex: 1;
}
.card .meta h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  font-family: var(--font-head);
}
.card .meta .price {
  color: var(--yellow);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(255,255,77,.35);
}
.card .meta .tag {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 4px;
}
.card.sold-out { opacity: .6; }

/* Card badges */
.badge {
  position: absolute;
  top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #12030a;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(255,45,149,.45);
  z-index: 2;
}
.badge-new {
  position: absolute;
  top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--accent), #6d28d9);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(168,85,247,.5);
  z-index: 2;
}
.sold-ribbon {
  position: absolute;
  top: 14px; left: -36px;
  background: #333;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  padding: 4px 40px;
  transform: rotate(-45deg);
  z-index: 2;
}

/* Strain badges */
.badge-bottom {
  display: flex;
  gap: 6px;
  padding: 0 16px 14px;
  flex-wrap: wrap;
}
.badge-strain {
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-strain.indica { background: rgba(124,58,237,.25); color: #c4b5fd; }
.badge-strain.sativa { background: rgba(34,197,94,.2); color: #86efac; }
.badge-strain.hybrid { background: rgba(251,191,36,.2); color: #fcd34d; }
.badge-thc {
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.badge-thc.thc-low { background: rgba(34,197,94,.15); color: #86efac; }
.badge-thc.thc-mid { background: rgba(251,191,36,.15); color: #fcd34d; }
.badge-thc.thc-high { background: rgba(239,68,68,.18); color: #fca5a5; }
.badge-lso {
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(168,85,247,.2);
  color: var(--accent-soft);
}

/* Premium glow */
.glow-gold { box-shadow: 0 0 22px rgba(255,225,77,.2); }
.glow-gold:hover { box-shadow: 0 0 32px rgba(255,225,77,.3); }

/* --- No results / empty state --- */
.no-results {
  text-align: center;
  padding: 40px 16px;
}
.no-results-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.no-results-sub {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 16px;
}
.no-results-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}
.no-results-chips .chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(168,85,247,.1);
  border: 1px solid rgba(168,85,247,.3);
  color: var(--accent-soft);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.no-results-chips .chip:hover { background: rgba(168,85,247,.22); }
.chip-empty { color: var(--muted); font-size: .88rem; }
.no-results-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--gold-deep));
  color: #fff;
  border: none;
  box-shadow: var(--glow-gold);
  transition: transform .2s, box-shadow .2s;
}
.no-results-btn:hover { transform: translateY(-2px); box-shadow: var(--glow-gold-soft); }
.no-results-btn-alt {
  background: transparent;
  border: 2px solid var(--line);
  color: var(--text);
  box-shadow: none;
}
.no-results-btn-alt:hover { border-color: var(--accent); color: var(--accent-soft); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .filter-panel { width: 300px; }
  .category-item .cat-circle { width: 54px; height: 54px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .card .img-wrap { height: 140px; }
  .card .meta { padding: 10px 12px; }
  .fs-bar { gap: 8px; }
}



