:root {
  --primary-purple: #9333ea;
  --primary-purple-dark: #7c3aed;
  --primary-cyan: #22d3ee;
  --primary-cyan-dark: #06b6d4;
  --accent-purple: #a855f7;
  --gold: #FFD700;
  --silver: #c4b5fd;
  --border-light: #e9d5ff;
  --border-hover: #c4b5fd;
  --bg-gradient: linear-gradient(135deg, #faf5ff 0%, #ecfeff 100%);
  --card-gradient: linear-gradient(135deg, white, #faf5ff);
  --card-gradient-hover: linear-gradient(135deg, white, #ecfeff);
  --primary-gradient: linear-gradient(135deg, #9333ea, #06b6d4);
  --text-primary: #333;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Import Snipcart Custom Styles */
@import url('snipcart-custom.css');

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-gradient);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-md {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  max-height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-purple);
}

.nav-menu a.active {
  color: var(--primary-purple);
  border-bottom: 2px solid var(--primary-purple);
  padding-bottom: 2px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.hero .supporting-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-purple);
  border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
  background: var(--primary-purple);
  color: var(--white);
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Value Proposition Grid */
.value-props {
  padding: 4rem 0;
}

.value-props h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Category Preview Section */
.category-preview {
  padding: 4rem 0;
  background: var(--white);
}

.category-preview h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.category-section {
  margin-bottom: 3rem;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
}

.category-title {
  font-size: 1.75rem;
  color: var(--text-primary);
}

.category-exotic-aaa .category-title {
  color: var(--gold);
}

.category-exotic .category-title {
  color: var(--silver);
}

.category-indoor .category-title {
  color: var(--primary-cyan);
}

.category-light-dep .category-title {
  color: var(--primary-purple);
}

.view-all-link {
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.view-all-link:hover {
  color: var(--primary-purple-dark);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.product-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .btn,
.product-card .snipcart-add-item,
.product-card .contact-for-price {
  margin-top: auto;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.product-price {
  color: var(--primary-purple);
  font-size: 1.125rem;
  font-weight: 500;
}

/* Wholesale Benefits Section */
.wholesale-benefits {
  padding: 4rem 0;
}

.wholesale-benefits h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.wholesale-benefits .subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-icon {
  color: var(--primary-cyan);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.benefit-content h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.benefit-content p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Final CTA Section */
.final-cta {
  padding: 4rem 0;
  background: var(--white);
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.final-cta .subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.office-hours {
  color: var(--text-secondary);
  margin-top: 1rem;
}

/* Footer */
footer {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  padding: 2rem 0;
}

.footer-content {
  text-align: center;
  color: var(--text-secondary);
}

.footer-content p {
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Mobile Sticky CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-gradient);
  padding: 0.75rem 1rem;
  text-align: center;
  z-index: 99;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.mobile-sticky-cta .btn {
  width: 100%;
  max-width: 280px;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-light);
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1.25rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .value-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    flex-direction: column;
    align-items: center;
  }

  .mobile-sticky-cta {
    display: block;
  }

  /* Add padding to footer to account for sticky CTA */
  footer {
    padding-bottom: 4rem;
  }

  .trust-indicators {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .value-props h2,
  .category-preview h2,
  .wholesale-benefits h2,
  .final-cta h2 {
    font-size: 1.75rem;
  }

  .container,
  .container-md {
    padding: 0 0.75rem;
  }
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  min-width: 220px;
  z-index: 1000;
  padding: 0.5rem 0;
  list-style: none;
}

.dropdown:hover .dropdown-menu,
.dropdown.show .dropdown-menu {
  display: block;
}

.dropdown-toggle {
  cursor: pointer;
  position: relative;
}

.dropdown-toggle::after {
  content: '▼';
  font-size: 0.7em;
  margin-left: 0.5rem;
  opacity: 0.7;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 400;
  font-size: 0.95rem;
}

.dropdown-menu a:hover {
  background: var(--bg-gradient);
  color: var(--primary-purple);
  padding-left: 1.5rem;
}

/* Product Type Badges */
.product-type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0.5rem 0;
}

.product-card .shop-with-us {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.75rem;
  font-size: 1rem;
}

/* Product Card Enhancements */
.product-tagline {
  color: var(--primary-cyan);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0.5rem 0;
}

.product-features {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin: 0.5rem 0;
}

.product-strains {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0.5rem 0;
}

/* Category Section Colors */
.category-thcp .category-title {
  color: #ef4444;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.category-prepack .category-title {
  color: var(--accent-purple);
}

.category-prerolls .category-title {
  color: #3b82f6;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden {
  display: none;
}

/* Loading State */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-light);
  border-top-color: var(--primary-purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}