/*
Theme Name: Dispensary Theme
Theme URI: http://example.com/dispensary-theme
Author: Replit Agent
Author URI: http://replit.com
Description: A clean, modern WordPress theme for dispensaries.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dispensary-theme
Tags: health, medical, cannabis, dispensary, custom-colors, custom-menu

This theme is designed for WordPress 6.9.1.
*/

/* --- Global Variables --- */
:root {
  --primary-color: #2e7d32;
  --secondary-color: #81c784;
  --background-color: #f5f5f5;
  --text-color: #333333;
  --white: #ffffff;
  --border-radius: 8px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- Base Styles --- */
body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Navigation --- */
.main-navigation {
  background: var(--white);
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.main-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
}

.main-navigation a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* --- Products & Categories --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.product-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.product-price {
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* --- Admin/Dashboard Styles (Mock) --- */
.admin-menu-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
}

/* --- Age Verification --- */
#age-verification {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.age-modal {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
  max-width: 400px;
}
