/* ============================================================
   Mellow Fellow — site-v13.css
   Supplements style-v12.css. Provides:
   - FIXED, collapsible mobile navigation drawer
   - Product-detail page layout
   - Shop / category page tweaks for real-link cards
   - Age gate, blog article styles
   ============================================================ */

/* ---- header link reset (real anchors now) ---- */
.nav-dropdown-wrap .nav-link { cursor: pointer; }
.mega-col h4 a { color: inherit; text-decoration: none; }
.mega-col h4 a:hover { color: var(--sage); }
.sidebar-cat-btn { text-decoration: none; cursor: pointer; }
.product-card-link, .cat-card a, .blog-card a { text-decoration: none; color: inherit; display: block; }

/* ============================================================
   MOBILE DRAWER NAVIGATION  — the core nav fix
   ============================================================ */
.menu-toggle { display: none; }

.m-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(26,26,24,.55);
  z-index: 1400;
  opacity: 0; transition: opacity .3s ease;
}
.m-drawer-overlay.open { opacity: 1; }

.m-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 86vw; max-width: 360px;
  background: var(--cream, #f5f0e8);
  z-index: 1500;
  transform: translateX(102%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -16px 0 48px rgba(0,0,0,.28);
  -webkit-overflow-scrolling: touch;
}
.m-drawer.open { transform: translateX(0); }

.m-drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--bdr, rgba(26,26,24,.1));
  flex-shrink: 0;
}
.m-drawer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400; color: var(--char);
}
.m-drawer-logo span { color: var(--sage); }
.m-drawer-close {
  background: none; border: none;
  font-size: 30px; line-height: 1;
  color: var(--char); cursor: pointer;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.m-drawer-close:hover { background: var(--cream-d); }

.m-drawer-nav {
  flex: 1; overflow-y: auto;
  padding: 10px 0 32px;
}
.m-link {
  display: block;
  padding: 14px 22px;
  font-size: 15px; font-weight: 500;
  color: var(--char); text-decoration: none;
  border-bottom: 1px solid rgba(26,26,24,.05);
}
.m-link:active { background: var(--cream-d); }

.m-section-label {
  padding: 16px 22px 6px;
  font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage-d); font-weight: 700;
}

/* accordion */
.m-acc { border-bottom: 1px solid rgba(26,26,24,.05); }
.m-acc-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: none; border: none;
  font-size: 15px; font-weight: 600;
  color: var(--char); cursor: pointer;
  font-family: inherit;
}
.m-acc-head svg { transition: transform .25s; flex-shrink: 0; }
.m-acc-head[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-acc-head[aria-expanded="true"] { color: var(--sage-d); }
.m-acc-body {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  background: var(--cream-d, #ede6d6);
}
.m-acc-body.open { max-height: 720px; }
.m-sub {
  display: block;
  padding: 11px 22px 11px 36px;
  font-size: 13.5px;
  color: var(--wg, #6b6966);
  text-decoration: none;
}
.m-sub.all { font-weight: 600; color: var(--sage-d); }
.m-sub:active { background: var(--cream); }

.m-drawer-wa {
  display: block;
  margin: 18px 22px 0;
  padding: 13px;
  background: #25D366; color: #fff;
  text-align: center; text-decoration: none;
  border-radius: 30px;
  font-size: 14px; font-weight: 600;
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
}
@media (min-width: 861px) {
  .m-drawer, .m-drawer-overlay { display: none !important; }
}

/* ensure the sticky header stays above content */
.site-header { z-index: 1200; }

/* ============================================================
   AGE GATE
   ============================================================ */
#ageGate {
  position: fixed; inset: 0; z-index: 99999;
  background: linear-gradient(135deg, rgba(26,26,24,.97), rgba(26,26,24,.99));
  display: flex; align-items: center; justify-content: center;
  padding: 20px; transition: opacity .35s;
}
.age-box {
  background: var(--cream, #f5f0e8);
  border-radius: 22px; padding: 42px 36px;
  max-width: 440px; width: 100%; text-align: center;
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
}
.age-emoji { font-size: 46px; margin-bottom: 14px; }
.age-eyebrow {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sage); font-weight: 600; margin-bottom: 10px;
}
.age-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px; font-weight: 300; color: var(--char);
  margin-bottom: 12px;
}
.age-text { font-size: 13px; color: #8a8880; line-height: 1.7; margin-bottom: 26px; }
.age-yes, .age-no {
  display: block; width: 100%;
  border-radius: 50px; cursor: pointer;
  font-family: inherit;
}
.age-yes {
  background: var(--char); color: var(--cream);
  border: none; padding: 15px; font-size: 14px; font-weight: 500;
  margin-bottom: 12px;
}
.age-yes:hover { background: var(--sage); }
.age-no {
  background: transparent; color: #8a8880;
  border: 1px solid rgba(26,26,24,.15);
  padding: 13px; font-size: 13px;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-wrap { max-width: 1180px; margin: 0 auto; padding: 24px 32px 64px; }
.product-detail {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; margin-top: 12px;
}
.pd-gallery {
  position: relative;
  background: var(--white, #fff);
  border: 1px solid var(--bdr); border-radius: 18px;
  overflow: hidden; align-self: start;
}
.pd-gallery img { width: 100%; height: auto; display: block; }
.pd-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--sage-d); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 6px 13px; border-radius: 20px;
}
.pd-cat { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 8px; }
.pd-cat a { color: var(--sage-d); text-decoration: none; }
.pd-cat a:hover { text-decoration: underline; }
.pd-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 400; line-height: 1.18;
  text-align: left; margin-bottom: 10px;
}
.pd-strain { font-size: 13px; color: var(--wg); margin-bottom: 14px; }
.pd-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.pd-price-amt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px; font-weight: 600; color: var(--sage-d);
}
.pd-stock { font-size: 12px; color: #15803d; font-weight: 500; }
.pd-desc { font-size: 14px; color: var(--wg); line-height: 1.78; margin-bottom: 20px; }
.pd-label {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: var(--char); margin-bottom: 8px;
}
.pd-variants { margin-bottom: 18px; }
.variant-row { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-btn {
  background: var(--white); border: 1px solid var(--bdr);
  border-radius: 8px; padding: 8px 13px;
  font-size: 12.5px; cursor: pointer; font-family: inherit;
}
.variant-btn.active { border-color: var(--sage-d); background: var(--cream-d); color: var(--sage-d); }
.pd-qty { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 24px; }
.pd-features { margin-bottom: 20px; }
.pd-features ul { list-style: none; padding: 0; }
.pd-features li {
  font-size: 13px; color: var(--wg);
  padding: 6px 0 6px 22px; position: relative;
}
.pd-features li::before {
  content: "\2713"; position: absolute; left: 0;
  color: var(--sage-d); font-weight: 700;
}
.pd-specs {
  display: grid; grid-template-columns: auto 1fr;
  gap: 8px 18px; font-size: 13px;
  border-top: 1px solid var(--bdr); padding-top: 16px;
}
.pd-specs dt { font-weight: 600; color: var(--char); }
.pd-specs dd { color: var(--wg); }
.pd-seo {
  max-width: 820px; margin: 48px auto 0;
  font-size: 14px; color: var(--wg); line-height: 1.8;
}
.pd-seo h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 400; text-align: left;
  margin-bottom: 10px; color: var(--char);
}
.pd-seo p { margin-bottom: 12px; }
.pd-seo a { color: var(--sage-d); }
.pd-related { margin-top: 56px; }
.pd-related .section-title { margin-bottom: 24px; }

@media (max-width: 760px) {
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .product-detail-wrap { padding: 18px 18px 48px; }
  .pd-title { font-size: 26px; }
  .pd-actions { flex-direction: column; }
}

/* ============================================================
   PRODUCT CARD as real link
   ============================================================ */
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card-link { flex: 1; }
.product-card .btn-add-to-cart { margin: 0 14px 14px; }
.product-price-row { margin: 4px 0; }

/* ============================================================
   SHOP / CONTENT / BLOG
   ============================================================ */
.content-wrap { max-width: 1100px; margin: 0 auto; padding: 22px 32px 56px; }
.shop-seo, .blog-index-wrap { }
.shop-seo {
  margin-top: 36px; font-size: 13.5px;
  color: var(--wg); line-height: 1.8;
  border-top: 1px solid var(--bdr); padding-top: 20px;
}
.shop-seo h2 {
  font-family: 'Cormorant Garamond', serif; font-size: 22px;
  font-weight: 400; text-align: left; margin-bottom: 8px;
}
.blog-index-wrap { max-width: 1100px; margin: 0 auto; padding: 22px 32px 56px; }
.blog-article { max-width: 760px; margin: 0 auto; padding: 24px 28px 64px; }
.blog-article-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px; font-weight: 400; line-height: 1.2;
  text-align: left; margin: 10px 0 18px;
}
.blog-article-meta { display: flex; gap: 12px; align-items: center; }
.blog-article-date { font-size: 12px; color: var(--wg); }
.blog-article-img {
  width: 100%; height: auto; border-radius: 14px;
  margin-bottom: 26px;
}
.blog-article-body { font-size: 15px; color: var(--char); line-height: 1.85; }
.blog-article-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 400; text-align: left;
  margin: 26px 0 10px;
}
.blog-article-body p { margin-bottom: 14px; }
.blog-article-body a { color: var(--sage-d); }
.blog-article-foot {
  display: flex; gap: 12px; margin-top: 32px;
  padding-top: 22px; border-top: 1px solid var(--bdr);
}
.about-mission { max-width: 720px; margin: 40px auto 0; text-align: center; }
.about-mission p { font-size: 15px; color: var(--wg); line-height: 1.85; margin-bottom: 16px; }
.about-actions, .cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.contact-info { }
.faq-full { max-width: 720px; margin: 0 auto; }
.faq-full-q { text-align: left; }

/* static hero (replaces JS slider on home) */
.hero-static {
  position: relative; width: 100%;
  aspect-ratio: 16/7; min-height: 320px; max-height: 600px;
  overflow: hidden; background: #111;
}
.hero-static-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-static-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,26,24,.72) 0%, rgba(26,26,24,.25) 70%);
}
.hero-static-content {
  position: relative; z-index: 2;
  max-width: 640px; padding: 0 8% ;
  height: 100%; display: flex; flex-direction: column;
  justify-content: center; color: #fff;
}
.hero-static-content .slide-title { text-align: left; color: #fff; }
.hero-static-content .slide-sub { color: rgba(255,255,255,.85); }
.hero-static-content .slide-eyebrow { color: var(--gold); }

@media (max-width: 640px) {
  .content-wrap, .blog-index-wrap { padding: 18px 18px 44px; }
  .hero-static-content { padding: 0 24px; }
  .blog-article { padding: 18px 18px 48px; }
  .blog-article-title { font-size: 26px; }
}
