/* ============================================================
   We The North Cannabis — Main Stylesheet
   ============================================================ */
:root {
  --green-900: #0e2a1b;
  --green-800: #14432b;
  --green-700: #1b5e3b;
  --green-600: #237a4b;
  --green-500: #2e9e63;
  --green-100: #e3f3e9;
  --gold-500: #d9a441;
  --gold-400: #e8b95c;
  --cream: #faf7f0;
  --ink: #1c2420;
  --muted: #5d6b63;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(14, 42, 27, 0.12);
  --shadow-lg: 0 14px 40px rgba(14, 42, 27, 0.18);
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-500); }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; color: var(--green-900); font-weight: 800; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .eyebrow { display: inline-block; color: var(--gold-500); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; margin-bottom: 12px; }
.section-head p { color: var(--muted); margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: all 0.2s ease;
  text-align: center;
}
.btn-primary { background: var(--green-600); color: var(--white); box-shadow: 0 6px 18px rgba(35, 122, 75, 0.35); }
.btn-primary:hover { background: var(--green-500); color: var(--white); transform: translateY(-2px); }
.btn-gold { background: var(--gold-500); color: var(--green-900); box-shadow: 0 6px 18px rgba(217, 164, 65, 0.4); }
.btn-gold:hover { background: var(--gold-400); color: var(--green-900); transform: translateY(-2px); }
.btn-outline { border-color: var(--green-600); color: var(--green-700); background: transparent; }
.btn-outline:hover { background: var(--green-600); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 67, 43, 0.1);
}
.topbar {
  background: var(--green-900); color: var(--green-100);
  text-align: center; font-size: 0.82rem; padding: 8px 16px; letter-spacing: 0.02em;
}
.topbar strong { color: var(--gold-400); }

.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: auto; }
.brand .brand-name { font-weight: 800; color: var(--green-900); font-size: 1.15rem; line-height: 1.15; }
.brand .brand-name small { display: block; font-weight: 600; color: var(--muted); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { font-weight: 600; color: var(--ink); font-size: 0.98rem; position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold-500); transition: width 0.25s ease; }
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--green-900); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  background: linear-gradient(rgba(14, 42, 27, 0.78), rgba(14, 42, 27, 0.86)), url('../img/hero.jpg') center/cover no-repeat;
  padding: 110px 0 120px;
}
.hero-inner { max-width: 640px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(217, 164, 65, 0.16); border: 1px solid rgba(217, 164, 65, 0.5); color: var(--gold-400); padding: 7px 16px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero p.lead { font-size: 1.15rem; color: rgba(255, 255, 255, 0.85); margin: 20px 0 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-badges .badge { display: flex; flex-direction: column; }
.hero-badges .badge strong { font-size: 1.5rem; color: var(--gold-400); }
.hero-badges .badge span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.72); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--green-900); padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trust-grid .t-item { color: var(--green-100); font-size: 0.92rem; display: flex; align-items: center; justify-content: center; gap: 10px; }
.trust-grid .t-item .ico { font-size: 1.3rem; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card img { height: 190px; width: 100%; object-fit: cover; }
.cat-card .cat-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-card .cat-body p { color: var(--muted); font-size: 0.95rem; flex: 1; }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card .thumb { position: relative; height: 210px; overflow: hidden; background: var(--green-100); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .tag {
  position: absolute; top: 12px; left: 12px; background: var(--gold-500); color: var(--green-900);
  font-size: 0.7rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em;
}
.product-card .tag.green { background: var(--green-600); color: var(--white); }
.product-card .prod-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .strain { font-size: 0.75rem; font-weight: 700; color: var(--green-600); text-transform: uppercase; letter-spacing: 0.1em; }
.product-card h3 { font-size: 1.05rem; }
.product-card .meta { display: flex; gap: 8px; font-size: 0.78rem; color: var(--muted); flex-wrap: wrap; }
.product-card .meta span { background: var(--green-100); padding: 2px 8px; border-radius: 6px; }
.product-card .prod-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid #eceae4; }
.product-card .price { font-weight: 800; font-size: 1.1rem; color: var(--green-900); }
.product-card .price small { font-weight: 600; color: var(--muted); font-size: 0.75rem; }

/* ---------- Filters ---------- */
.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  background: var(--white); border: 1.5px solid rgba(20, 67, 43, 0.15); color: var(--muted);
  padding: 9px 20px; border-radius: 999px; font-weight: 600; cursor: pointer; font-size: 0.9rem; transition: all 0.2s ease; font-family: var(--font);
}
.filter-btn:hover { border-color: var(--green-600); color: var(--green-700); }
.filter-btn.active { background: var(--green-700); border-color: var(--green-700); color: var(--white); }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split .img-wrap { position: relative; }
.split .img-wrap img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split .img-wrap::after {
  content: '🍁'; position: absolute; bottom: -18px; right: -12px; font-size: 3.4rem;
  background: var(--white); border-radius: 18px; padding: 8px 12px; box-shadow: var(--shadow);
}
.split ul.checklist { list-style: none; margin-top: 20px; display: grid; gap: 12px; }
.split ul.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.split ul.checklist .chk { color: var(--green-600); font-weight: 800; }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.feature-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature-card .ico { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: var(--green-100); border-radius: 12px; font-size: 1.3rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card img { height: 200px; width: 100%; object-fit: cover; }
.post-card .post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .post-meta { font-size: 0.78rem; color: var(--muted); display: flex; gap: 14px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.post-card h3 { font-size: 1.1rem; line-height: 1.35; }
.post-card p { color: var(--muted); font-size: 0.93rem; flex: 1; }
.post-card .read-more { font-weight: 700; font-size: 0.9rem; }

/* ---------- Article page ---------- */
.article { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 5vw, 60px); max-width: 820px; margin: 0 auto; }
.article .featured { border-radius: var(--radius); margin: 28px 0; }
.article h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.article p { margin-bottom: 16px; color: #33403a; }
.article ul, .article ol { margin: 0 0 16px 24px; color: #33403a; }
.article li { margin-bottom: 8px; }
.article .article-meta { color: var(--muted); font-size: 0.85rem; display: flex; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #eceae4; margin-bottom: 24px; flex-wrap: wrap; }
.article blockquote { border-left: 4px solid var(--gold-500); background: var(--green-100); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 20px 0; font-style: italic; }
.share-row { display: flex; gap: 10px; margin-top: 32px; align-items: center; flex-wrap: wrap; }
.share-row span { font-weight: 700; color: var(--green-900); }

/* ---------- Store info / visit ---------- */
.visit { background: var(--green-900); color: var(--white); }
.visit h2, .visit h3 { color: var(--white); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.visit .v-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); padding: 28px; }
.visit .v-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.visit .v-row:last-child { border-bottom: none; }
.visit .v-row .ico { font-size: 1.3rem; }
.visit .v-row strong { display: block; color: var(--gold-400); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2px; }
.visit .v-row p { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }

/* ---------- Newsletter ---------- */
.newsletter { background: linear-gradient(135deg, var(--gold-500), var(--gold-400)); padding: 56px 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter h2 { color: var(--green-900); }
.newsletter p { color: rgba(14, 42, 27, 0.75); }
.newsletter form { display: flex; gap: 12px; background: var(--white); padding: 8px; border-radius: 999px; box-shadow: var(--shadow); }
.newsletter input { flex: 1; border: none; outline: none; padding: 10px 18px; font-size: 0.95rem; font-family: var(--font); background: transparent; }
.newsletter .btn { border: none; }

/* ---------- Age gate modal ---------- */
.age-gate { position: fixed; inset: 0; background: rgba(14, 42, 27, 0.94); z-index: 999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.age-gate[hidden] { display: none; }
.age-gate .gate-card { background: var(--cream); border-radius: 20px; padding: 44px 40px; max-width: 420px; text-align: center; box-shadow: var(--shadow-lg); }
.age-gate .gate-card img { height: 64px; margin: 0 auto 18px; }
.age-gate .gate-card h2 { margin-bottom: 10px; }
.age-gate .gate-card p { color: var(--muted); margin-bottom: 24px; font-size: 0.95rem; }
.age-gate .gate-actions { display: flex; gap: 14px; justify-content: center; }
.age-gate .gate-actions .btn { min-width: 120px; }
.age-gate .gate-note { margin-top: 18px; font-size: 0.75rem; color: var(--muted); }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; color: var(--green-900); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1.5px solid rgba(20, 67, 43, 0.18); border-radius: 10px;
  font-family: var(--font); font-size: 0.95rem; background: var(--cream); color: var(--ink);
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid var(--green-500); border-color: var(--green-500); }
.form-status { margin-top: 12px; font-weight: 600; color: var(--green-600); display: none; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
details.faq { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
details.faq summary { cursor: pointer; padding: 20px 24px; font-weight: 700; color: var(--green-900); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--gold-500); font-weight: 400; }
details.faq[open] summary::after { content: '–'; }
details.faq .faq-body { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding: 22px 0 0; font-size: 0.85rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; gap: 8px; }
.crumbs li + li::before { content: '/'; color: var(--gold-500); }

/* ---------- Page header ---------- */
.page-hero { background: linear-gradient(rgba(14, 42, 27, 0.82), rgba(14, 42, 27, 0.9)), url('../img/hero.jpg') center 30%/cover no-repeat; color: var(--white); padding: 72px 0 64px; text-align: center; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255, 255, 255, 0.8); max-width: 560px; margin: 14px auto 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255, 255, 255, 0.75); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: var(--white); margin-bottom: 16px; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.75); }
.site-footer a:hover { color: var(--gold-400); }
.site-footer .f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.site-footer .f-brand img { height: 44px; background: var(--white); border-radius: 8px; padding: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-size: 0.82rem; flex-wrap: wrap; }
.footer-note { font-size: 0.78rem; color: rgba(255, 255, 255, 0.45); padding: 14px 0 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--green-900); color: var(--white); padding: 14px 24px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow-lg); transition: transform 0.35s ease; z-index: 998; font-size: 0.92rem; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; padding: 20px 5%; gap: 16px; border-bottom: 1px solid rgba(20, 67, 43, 0.12); box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-cta .btn-shop-nav { display: none; }
  .nav-toggle { display: block; }
  .split, .visit-grid, .newsletter-inner, .contact-grid { grid-template-columns: 1fr; }
  .split .img-wrap::after { display: none; }
}
@media (max-width: 620px) {
  .prod-grid, .blog-grid, .cat-grid { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
