#vanta-bg {
  z-index: -1 !important;
}

html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
}
.navbar {
  background: #000000;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 999;
}
.navbar a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
}
.hero {
  background: #33333300;
  color: white;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
.section {
  padding: 60px 20px;
  text-align: center;
}
.section h2, .section h1 {
  font-size: 2em;
  margin-bottom: 10px;
}
.map-container {
  max-width: 800px;
  margin: 20px auto;
  border-radius: 8px;
  overflow: hidden;
}
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.category-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s ease;
  border-radius: 10px;
  border: 2px solid transparent;
  box-shadow: 0 0 0px rgba(255, 255, 255, 0);
}
.category-box:hover {
  border-color: rgb(255, 255, 255);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}
.category-box .content {
  text-align: center;
  color: white;
  z-index: 2;
}
.category-box .icon {
  width: 50px;
  margin-bottom: 10px;
  filter: invert(1);
  transition: transform 0.3s ease;
}
.category-box:hover .icon {
  transform: scale(1.15);
}
.category-box h3 {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}
.category-box:hover h3 {
  opacity: 0;
  transform: translateY(-10px);
}
.view-more {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  margin-top: 8px;
  letter-spacing: 1px;
}
.category-box:hover .view-more {
  opacity: 1;
  transform: translateY(0);
}
.vapes { background: #E9A93F; }
.shatter { background: #C05C2C; }
.live-resin { background: #6C8F7B; }
.diamonds { background: #17494D; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
}
.product-card {
  background: white;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.product-card img {
  width: 100%;
  border-radius: 6px;
  max-height: 200px;
  object-fit: cover;
}
.price {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #007BFF;
}





body.dark-mode {
  background-color: #121212;
  color: #f0f0f0;
}

.dark-card {
  background-color: #1e1e1e !important;
  border: 1px solid #444;
}


/* Fix visibility for category boxes */
.category-box {
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Individual category background colors of each product (names listed below) */
.category-box.pre-rolls { background-color: #000000f5; }
.category-box.flower { background-color: #000000f5; }
.category-box.vapes { background-color: #000000f5; }
.category-box.edibles { background-color: #000000f5; }
.category-box.hash { background-color: #000000f5; }
.category-box.shatter { background-color: #000000f5; }

/* Ensures categories layout is visible */




  

  

  



/* Mobile Nav Patchs */




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


/* Slim header and clean dropdown */
header {
  background-color: #111;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}






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



/* Shared styling for ALL product pages */
body.product-page {
  background-color: black;
  color: white; /* makes text readable */
}

/* Makes the product cards look consistent */
body.product-page .product-card {
  background-color: #111;  /* dark gray cards */
  border: 1px solid #333;
  color: rgb(255, 255, 255);
}

/* Category-specific styling */
body.prerolls { /* styles for Pre-Rolls */ }
body.flower-page   { /* styles for Flower */ }
body.edibles-page  { /* styles for Edibles */ }
body.vapes-page    { /* styles for Vapes */ }
body.hash-page     { /* styles for Hash */ }
body.shatter-page  { /* styles for Shatter */ }

/* === Hamburger Menu Styling === */

.menu-toggle {
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: none; /* hidden on desktop */
}

.nav-links {
  display: flex;
  gap: 20px;
}


/* === Right-side Drawer Menu (mobile) === */
/* Keep desktop inline links */
.nav-links { display: flex; gap: 20px; }
.menu-toggle { font-size: 28px; background: none; border: none; color: #fff; cursor: pointer; display: none; }

/* Backdrop */
.menu-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; pointer-events: none; z-index: 2000;
  transition: opacity .25s ease, visibility .25s ease;
}
.menu-backdrop.show { opacity: 1; visibility: visible; pointer-events: auto; }

/* Drawer */
.drawer {
  position: fixed; top: 0; right: 0; height: 100vh;
  width: 78vw; max-width: 360px;
  background: #111; color: #fff; z-index: 2001;
  transform: translateX(100%); transition: transform .28s ease;
  box-shadow: -24px 0 40px rgba(0,0,0,.35);
  padding: 18px 16px; overflow-y: auto;
  border-left: 1px solid #222; border-top-left-radius: 12px; border-bottom-left-radius: 12px;
}
.drawer.show { transform: translateX(0); }

.drawer-nav { display: flex; flex-direction: column; gap: 8px; }
.drawer-nav a { padding: 12px 10px; border-radius: 8px; color: #fff; text-decoration: none; }
.drawer-nav a:hover { background: #1a1a1a; }

/* Prevent body scroll when drawer open */
body.menu-open { overflow: hidden; }

/* Mobile rules */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; } /* hide desktop links on mobile */
}

/* Make sure the page never flashes white */
html, body { background:#000000; }

/* Full-viewport Vanta background + no white flash */
html, body { background:#000000; }

#vanta-bg {
  position: fixed;
  inset: 0;           /* top:0; right:0; bottom:0; left:0 */
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none; /* don't block clicks */
}

/* --- Make content show over Vanta and remove white panels --- */
#mainContent {
  position: relative;   /* sits above Vanta */
  z-index: 1;
  background: transparent;
  color: #fff;          /* readable on dark background */
}

/* kill any default white backgrounds */
section, .section, .container, .content, .product-grid, .product-card {
  background: transparent !important;
}

/* links: white, with green hover */
a { color: #ffffff; text-decoration: none; }
a:hover { color: #3fff6c; }

/* hero/title area centered */
.hero, .section-hero, .welcome, .intro {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* optional: space sections so Vanta shows nicely */
section { padding: 24px 16px; }

/* keep page black if Vanta is still loading */
html, body { background: #000; }

/* brand accent */
:root { --brand-green: #3fff6c; }   /* same green */
.brand-green { color: var(--brand-green); font-weight: 600; }

/* Announcement bar (sticky at very top) */
.announce {
  position: sticky; top: 0; z-index: 9999;
  width: 100%;
  background: #0d0d0d;               /* dark, matches your site */
  border-bottom: 1px solid rgba(63,255,108,.35);
  color: #fff;
  backdrop-filter: blur(4px);
  font-size: 14px; line-height: 1.4;
}
.announce.hidden { display: none; }

.announce__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 10px 16px;
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
  align-items: center;
}

.announce__msg a {
  color: #3fff6c; text-decoration: none; font-weight: 600;
}
.announce__msg a:hover { text-decoration: underline; }

.announce__close {
  appearance: none; border: 1px solid rgba(255,255,255,.2);
  background: transparent; color: #fff;
  font-size: 14px; padding: 4px 8px; border-radius: 8px;
  cursor: pointer;
}
.announce__close:hover {
  border-color: rgba(63,255,108,.7); color: #3fff6c;
}