/* ============================================================
   MELLOW FELLOW -- Main Stylesheet
   mellowfellowcarts.com
   ============================================================ */

/* CSS VARIABLES */
:root {
  --sage:    #7a8c6e;
  --sage-l:  #a8b89a;
  --sage-d:  #4a5c40;
  --cream:   #f5f0e8;
  --cream-d: #ede6d6;
  --char:    #1a1a18;
  --char-m:  #2e2e2b;
  --wg:      #8a8880;
  --gold:    #c9a96e;
  --gold-l:  #e8d4aa;
  --white:   #fefefe;
  --bdr:     rgba(26,26,24,0.10);
  --header-h: 68px;
  --ann-h:    36px;
}

/* RESET & BASE */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--char);
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* ANNOUNCEMENT BAR */
.ann-bar {
  background: var(--char);
  height: var(--ann-h);
  overflow: hidden;
  position: relative;
  z-index: 100;
}
.ann-track {
  display: flex;
  animation: ann-scroll 32s linear infinite;
  white-space: nowrap;
  height: 100%;
  align-items: center;
}
.ann-track:hover { animation-play-state: paused; }
.ann-item {
  padding: 0 48px;
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color .2s;
}
.ann-item:hover { color: var(--gold); }
.ann-dot { color: var(--gold); font-size: 12px; }
@keyframes ann-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(245,240,232,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bdr);
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 32px;
  gap: 24px;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--char);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo span { color: var(--sage); }

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--char);
  padding: 8px 13px;
  border-radius: 7px;
  transition: background .2s, color .2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover,
.nav-link.active { background: var(--cream-d); color: var(--sage-d); }

/* Dropdown wrapper */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown-wrap:hover .mega-menu { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.nav-dropdown-wrap:hover .drop-arrow { transform: rotate(180deg); }
.drop-arrow { width: 10px; height: 10px; transition: transform .2s; }

/* Mega menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--white);
  border: 1px solid var(--bdr);
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(0,0,0,.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s, transform .28s;
  min-width: 720px;
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.mega-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--sage-d);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bdr);
}
.mega-link {
  display: block;
  font-size: 12px;
  color: var(--wg);
  padding: 4px 0;
  transition: color .15s;
}
.mega-link:hover { color: var(--sage-d); }
.mega-link.all { color: var(--sage); font-weight: 500; margin-top: 6px; }
.mega-promo {
  background: var(--cream);
  border-radius: 10px;
  padding: 13px;
  margin-top: 10px;
}
.mega-promo p { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--sage-d); font-weight: 600; margin-bottom: 5px; }
.mega-promo span { font-size: 11px; color: var(--wg); line-height: 1.6; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-icon {
  width: 38px; height: 38px;
  border: 1px solid var(--bdr);
  background: transparent;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background .2s;
  position: relative;
}
.btn-icon:hover { background: var(--cream-d); }
.cart-badge {
  position: absolute;
  top: -3px; right: -3px;
  width: 17px; height: 17px;
  background: var(--sage);
  color: #fff;
  font-size: 9px; font-weight: 600;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--cream);
}

/* Mobile menu toggle */
.menu-toggle { display: none; }

/* BUTTONS */
.btn-primary {
  background: var(--sage);
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 13px; font-weight: 500; letter-spacing: .05em;
  transition: background .2s, transform .15s;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--sage-d); transform: translateY(-1px); }
.btn-primary.gold { background: var(--gold); }
.btn-primary.gold:hover { background: #b8934e; }
.btn-primary.dark { background: var(--char); }
.btn-primary.dark:hover { background: var(--sage-d); }

.btn-outline {
  background: transparent;
  color: var(--char);
  border: 1px solid var(--bdr);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 13px; font-weight: 500; letter-spacing: .05em;
  transition: border-color .2s, background .2s;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--sage); background: rgba(122,140,110,.06); }
.btn-outline.light {
  color: var(--cream);
  border-color: rgba(245,240,232,.3);
}
.btn-outline.light:hover { border-color: var(--cream); background: rgba(245,240,232,.09); }

/* HERO SLIDER */
.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
  min-height: 320px;
  max-height: 640px;
  overflow: hidden;
  background: #111;
}
.slider-track {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform .85s cubic-bezier(.77,0,.175,1);
}
.slide {
  width: 25%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform 9s ease;
}
.slide.active .slide-bg { transform: scale(1); }

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(8,10,6,.88) 0%,
    rgba(8,10,6,.52) 40%,
    rgba(8,10,6,.12) 65%,
    transparent 100%);
}
.slide-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,10,6,.56) 0%, transparent 40%);
}

.slide-content {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 58%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 64px;
  z-index: 2;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s .2s, transform .6s .2s;
}
.slide.active .slide-content { opacity: 1; transform: translateY(0); }

.slide-eyebrow {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage-l);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.slide-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--sage-l);
}
.slide-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.06;
  color: var(--cream);
  margin-bottom: 16px;
}
.slide-title em { color: var(--gold); font-style: italic; }
.slide-sub {
  font-size: clamp(12px, 1.4vw, 15px);
  color: rgba(245,240,232,.72);
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 400px;
}
.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Slider controls */
.slider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  background: rgba(245,240,232,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245,240,232,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); font-size: 18px;
  transition: background .2s, border-color .2s;
}
.slider-arrow:hover { background: rgba(245,240,232,.26); border-color: rgba(245,240,232,.5); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 22px; left: 64px;
  display: flex; gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 28px; height: 3px;
  border-radius: 2px;
  background: rgba(245,240,232,.28);
  transition: background .3s, width .3s;
  cursor: pointer;
  border: none;
}
.slider-dot.active { background: var(--sage); width: 44px; }

.slider-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: var(--sage);
  width: 0%;
  z-index: 10;
  transition: width linear;
}
.slider-count {
  position: absolute;
  bottom: 20px; right: 24px;
  font-size: 11px; font-weight: 500; letter-spacing: .1em;
  color: rgba(245,240,232,.45);
  z-index: 10;
}
.slider-count span { color: rgba(245,240,232,.8); }

/* SECTION HELPERS */
.section-label {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--sage);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.12;
  color: var(--char);
  margin-bottom: 36px;
}
.section-title em { color: var(--sage); font-style: italic; }

/* CATEGORY GRID */
.categories-section {
  padding: 56px 64px;
  background: var(--white);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--white);
  border: 1px solid var(--bdr);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  display: flex; flex-direction: column;
  transition: transform .24s, box-shadow .24s, border-color .24s;
  text-decoration: none; color: inherit;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.12);
  border-color: var(--sage-l);
}
.cat-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
  background: var(--cream-d);
  flex-shrink: 0;
}
.cat-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .42s ease;
}
.cat-card:hover .cat-img-wrap img { transform: scale(1.07); }
.cat-badge-img {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(12,12,10,.70);
  backdrop-filter: blur(10px);
  color: var(--cream);
  font-size: 9px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  pointer-events: none;
}
.cat-card-label {
  padding: 14px 16px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.cat-card-name { font-size: 13px; font-weight: 500; color: var(--char); line-height: 1.3; }
.cat-card-arrow {
  width: 26px; height: 26px;
  background: var(--cream-d);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
  color: var(--sage-d);
  transition: background .2s, transform .2s;
}
.cat-card:hover .cat-card-arrow { background: var(--sage); color: #fff; transform: translateX(3px); }

/* PRODUCTS */
.products-section { padding: 64px; background: var(--cream); }
.prod-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.product-card {
  background: var(--white);
  border: 1px solid var(--bdr);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .22s, box-shadow .22s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(0,0,0,.1);
}
.product-img {
  height: 188px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 62px;
  border-bottom: 1px solid var(--bdr);
  position: relative;
}
.product-badge {
  position: absolute; top: 11px; left: 11px;
  background: var(--sage); color: #fff;
  font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 50px;
}
.product-info { padding: 15px; }
.product-cat { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); font-weight: 500; margin-bottom: 5px; }
.product-name { font-size: 13px; font-weight: 500; color: var(--char); margin-bottom: 7px; line-height: 1.3; }
.product-price { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--char); }
.btn-add-to-cart {
  display: block; width: 100%;
  background: var(--char); color: var(--cream);
  border: none; padding: 11px;
  border-radius: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: .05em;
  margin-top: 11px;
  transition: background .2s;
}
.btn-add-to-cart:hover { background: var(--sage-d); }

/* TRUST BAR */
.trust-bar {
  background: var(--char);
  padding: 52px 64px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px; text-align: center;
}
.trust-item .trust-icon { font-size: 30px; margin-bottom: 12px; display: block; }
.trust-item strong { display: block; font-size: 14px; font-weight: 500; color: var(--cream); margin-bottom: 7px; }
.trust-item p { font-size: 12px; color: var(--wg); line-height: 1.65; }

/* FAQ */
.faq-section { padding: 64px; background: var(--white); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.faq-card {
  background: var(--cream);
  border: 1px solid var(--bdr);
  border-radius: 14px;
  padding: 24px;
}
.faq-q {
  font-size: 14px; font-weight: 500; color: var(--char);
  margin-bottom: 10px;
  display: flex; align-items: flex-start; gap: 10px;
}
.faq-q::before {
  content: 'Q';
  display: inline-flex; width: 22px; height: 22px;
  background: var(--sage); color: #fff;
  font-size: 10px; font-weight: 600;
  border-radius: 50%; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.faq-a { font-size: 13px; color: var(--wg); line-height: 1.75; padding-left: 32px; }

/* Full FAQ page */
.faq-full-item {
  border-bottom: 1px solid var(--bdr);
  padding: 24px 0;
}
.faq-full-q { font-size: 15px; font-weight: 500; color: var(--char); margin-bottom: 10px; }
.faq-full-a { font-size: 13px; color: var(--wg); line-height: 1.8; }

/* SEO SECTION */
.seo-section {
  padding: 72px 64px;
  background: var(--cream);
  border-top: 1px solid var(--bdr);
}
.seo-inner { max-width: 840px; }
.seo-inner h2 { font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 300; margin-bottom: 22px; }
.seo-inner p { font-size: 14px; color: var(--wg); line-height: 1.9; margin-bottom: 16px; }
.seo-inner strong { color: var(--char); font-weight: 500; }
.seo-inner a { color: var(--sage); text-decoration: underline; }

/* CTA BAND */
.cta-band { background: var(--sage-d); padding: 64px; text-align: center; }
.cta-band h2 { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 300; color: var(--cream); margin-bottom: 14px; }
.cta-band h2 em { color: var(--gold-l); font-style: italic; }
.cta-band p { color: rgba(245,240,232,.7); font-size: 15px; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* SHOP LAYOUT */
.shop-page-wrap {
  display: grid;
  grid-template-columns: 230px 1fr;
  background: var(--cream);
  min-height: calc(100vh - var(--header-h) - var(--ann-h));
}

/* Sidebar */
.shop-sidebar {
  background: var(--white);
  border-right: 1px solid var(--bdr);
  padding: 28px 0;
  position: sticky;
  top: calc(var(--header-h) + var(--ann-h));
  align-self: start;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.sidebar-top {
  padding: 0 20px 18px;
  border-bottom: 1px solid var(--bdr);
  margin-bottom: 8px;
}
.sidebar-top p { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--wg); font-weight: 500; }
.sidebar-all {
  display: block; width: 100%; text-align: left;
  padding: 10px 20px;
  font-size: 12px; color: var(--sage); font-weight: 500;
  transition: color .15s;
}
.sidebar-all:hover { color: var(--sage-d); }
.sidebar-divider { height: 1px; background: var(--bdr); margin: 6px 20px; }

.sidebar-cat-btn {
  width: 100%; text-align: left;
  padding: 11px 20px;
  font-size: 13px; color: var(--char); font-weight: 500;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .15s, color .15s;
}
.sidebar-cat-btn:hover,
.sidebar-cat-btn.open { background: var(--cream); color: var(--sage-d); }
.sidebar-cat-btn .arrow { width: 9px; height: 9px; transition: transform .2s; color: var(--wg); }
.sidebar-cat-btn.open .arrow { transform: rotate(180deg); }

.sidebar-subs { display: none; flex-direction: column; }
.sidebar-subs.open { display: flex; }
.sidebar-sub {
  display: block; width: 100%; text-align: left;
  padding: 8px 20px 8px 32px;
  font-size: 12px; color: var(--wg);
  transition: color .15s, background .15s;
}
.sidebar-sub:hover { color: var(--sage-d); background: var(--cream); }
.sidebar-sub.active { color: var(--sage-d); font-weight: 500; background: rgba(122,140,110,.07); }

/* Shop main */
.shop-main { padding: 32px; }

.cat-hero-banner {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 28px;
  position: relative;
  background: var(--char-m);
  padding: 44px 40px;
  display: flex; align-items: center; gap: 28px;
}
.cat-hero-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 50%, rgba(122,140,110,.13), transparent 60%);
}
.cat-hero-icon { font-size: 68px; position: relative; z-index: 1; flex-shrink: 0; }
.cat-hero-text { position: relative; z-index: 1; }
.cat-hero-eye { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-l); margin-bottom: 8px; }
.cat-hero-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 300; color: var(--cream); line-height: 1.1; margin-bottom: 8px;
}
.cat-hero-text h2 em { color: var(--gold); font-style: italic; }
.cat-hero-text p { font-size: 13px; color: rgba(245,240,232,.62); max-width: 420px; line-height: 1.68; }

.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.results-count { font-size: 12px; color: var(--wg); }
.sort-select {
  border: 1px solid var(--bdr); background: var(--white);
  padding: 8px 12px; border-radius: 8px;
  font-size: 12px; color: var(--char);
  cursor: pointer;
}

.sub-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.sub-pill {
  padding: 7px 16px; border-radius: 50px;
  border: 1px solid var(--bdr); background: var(--white);
  font-size: 12px; color: var(--wg);
  transition: all .15s;
}
.sub-pill:hover { border-color: var(--sage-l); color: var(--sage-d); }
.sub-pill.active { border-color: var(--sage); background: var(--sage); color: #fff; font-weight: 500; }

.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--wg); margin-bottom: 18px; }
.breadcrumb a { color: var(--sage); }
.breadcrumb a:hover { text-decoration: underline; }

/* PAGE HERO */
.page-hero {
  background: var(--char-m);
  padding: 76px 64px 60px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; right: 80px; top: 50%; transform: translateY(-50%);
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(122,140,110,.09);
  border: 1px solid rgba(122,140,110,.14);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 540px; }
.page-eyebrow {
  font-size: 10px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--sage-l); margin-bottom: 13px;
  display: flex; align-items: center; gap: 11px;
}
.page-eyebrow::before { content: ''; display: block; width: 20px; height: 1px; background: var(--sage-l); }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 300; color: var(--cream); line-height: 1.08; margin-bottom: 15px;
}
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero p { font-size: 14px; color: rgba(245,240,232,.65); line-height: 1.8; max-width: 460px; }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 52px 64px; background: var(--cream); }
.blog-card {
  background: var(--white);
  border: 1px solid var(--bdr);
  border-radius: 16px;
  overflow: hidden; cursor: pointer;
  transition: transform .22s, box-shadow .22s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.09); }
.blog-img { height: 164px; background: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 44px; border-bottom: 1px solid var(--bdr); }
.blog-meta { padding: 18px; }
.blog-tag { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); font-weight: 500; margin-bottom: 7px; }
.blog-title { font-size: 14px; font-weight: 500; color: var(--char); margin-bottom: 8px; line-height: 1.4; }
.blog-excerpt { font-size: 12px; color: var(--wg); line-height: 1.65; }
.blog-date { font-size: 11px; color: var(--sage-l); margin-top: 11px; }

/* CART */
.cart-section { padding: 56px 64px; background: var(--cream); }
.cart-title { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 300; margin-bottom: 28px; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; }
.cart-item {
  background: var(--white); border: 1px solid var(--bdr); border-radius: 14px;
  padding: 18px; display: flex; gap: 14px; align-items: center; margin-bottom: 12px;
}
.cart-item-img { width: 66px; height: 66px; background: var(--cream); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.cart-item-sub { font-size: 11px; color: var(--wg); }
.qty-control { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.qty-btn {
  width: 28px; height: 28px;
  border: 1px solid var(--bdr); background: var(--cream);
  border-radius: 50%; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.qty-btn:hover { background: var(--cream-d); }
.qty-num { font-size: 13px; font-weight: 500; min-width: 18px; text-align: center; }
.cart-item-price { font-family: 'Cormorant Garamond', serif; font-size: 19px; font-weight: 600; white-space: nowrap; }

.cart-summary { background: var(--white); border: 1px solid var(--bdr); border-radius: 16px; padding: 26px; height: fit-content; }
.summary-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; font-size: 12px; padding: 8px 0; border-bottom: 1px solid var(--bdr); }
.summary-row.total { border: none; font-size: 15px; font-weight: 500; margin-top: 7px; padding-top: 15px; border-top: 2px solid var(--char); }
.summary-label { color: var(--wg); }
.minimum-notice {
  background: var(--gold-l); border: 1px solid var(--gold);
  border-radius: 10px; padding: 11px 14px;
  font-size: 12px; color: var(--char); margin: 14px 0; line-height: 1.65;
}
.coupon-row { margin-bottom: 12px; }
.coupon-row input {
  width: 100%; padding: 11px 13px;
  border: 1px solid var(--bdr); border-radius: 9px;
  font-size: 13px; background: var(--cream);
  outline: none; margin-bottom: 7px;
  transition: border-color .2s;
}
.coupon-row input:focus { border-color: var(--sage); }
.checkout-actions { display: flex; flex-direction: column; gap: 10px; }
.payment-icons { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.payment-icon {
  background: var(--cream); border: 1px solid var(--bdr); border-radius: 6px;
  padding: 5px 10px; font-size: 10px; font-weight: 600; color: var(--wg);
}

/* CHECKOUT */
.checkout-section { padding: 56px 64px; background: var(--cream); }
.checkout-title { font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 300; margin-bottom: 28px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; max-width: 1020px; }
.checkout-step { background: var(--white); border: 1px solid var(--bdr); border-radius: 16px; padding: 28px; margin-bottom: 18px; }
.step-header { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.step-num { width: 30px; height: 30px; background: var(--char); color: var(--cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; flex-shrink: 0; }
.step-title { font-size: 14px; font-weight: 500; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 14px; }
.form-field:last-child { margin-bottom: 0; }
.form-field label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--wg); font-weight: 500; margin-bottom: 6px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 11px 13px;
  border: 1px solid var(--bdr); border-radius: 9px;
  font-size: 13px; background: var(--cream);
  color: var(--char); outline: none;
  transition: border-color .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--sage); }
.form-field textarea { resize: vertical; min-height: 90px; }
.payment-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pay-method {
  border: 2px solid var(--bdr); border-radius: 12px;
  padding: 15px 10px; text-align: center; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.pay-method:hover,
.pay-method.selected { border-color: var(--sage); background: rgba(122,140,110,.05); }
.pay-method-icon { font-size: 22px; display: block; margin-bottom: 6px; }
.pay-method-name { font-size: 11px; font-weight: 500; display: block; }
.pay-method-note { font-size: 9px; color: var(--sage); margin-top: 3px; }
.crypto-wallets {
  background: var(--cream); border: 1px solid var(--bdr);
  border-radius: 11px; padding: 16px; margin-top: 16px;
}
.wallet-label { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--wg); font-weight: 500; margin-bottom: 7px; }
.wallet-addr { font-size: 11px; font-family: monospace; color: var(--sage-d); word-break: break-all; line-height: 1.6; margin-bottom: 12px; }

/* MODAL */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(26,26,24,.62);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .28s;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white);
  border-radius: 22px; padding: 34px;
  max-width: 500px; width: 100%;
  max-height: 86vh; overflow-y: auto;
  transform: translateY(18px);
  transition: transform .28s;
  position: relative;
}
.modal-backdrop.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 30px; height: 30px;
  border: 1px solid var(--bdr); background: var(--cream);
  border-radius: 50%; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--wg); transition: background .15s;
}
.modal-close:hover { background: var(--cream-d); }
.modal-product-img { height: 185px; background: var(--cream); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 76px; margin-bottom: 16px; border: 1px solid var(--bdr); }
.modal-cat { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); font-weight: 500; margin-bottom: 6px; }
.modal-title { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 400; margin-bottom: 6px; }
.modal-price { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; margin-bottom: 15px; }
.modal-desc { font-size: 13px; color: var(--wg); line-height: 1.82; margin-bottom: 18px; }
.modal-variants { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 16px; }
.variant-btn {
  border: 1px solid var(--bdr); background: var(--cream);
  padding: 6px 14px; border-radius: 50px;
  font-size: 11px; transition: all .15s;
}
.variant-btn.active,
.variant-btn:hover { border-color: var(--sage); background: rgba(122,140,110,.08); color: var(--sage-d); }
.modal-qty { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.modal-qty label { font-size: 12px; color: var(--wg); }
.modal-actions { display: flex; gap: 11px; }

/* POLICY PAGES */
.policy-section { padding: 60px 64px; background: var(--cream); }
.policy-inner { max-width: 740px; }
.policy-inner h1 { font-family: 'Cormorant Garamond', serif; font-size: 46px; font-weight: 300; margin-bottom: 9px; }
.policy-updated { font-size: 12px; color: var(--wg); margin-bottom: 38px; }
.policy-inner h2 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--char); margin: 30px 0 11px; }
.policy-inner p { font-size: 13px; color: var(--wg); line-height: 1.88; margin-bottom: 14px; }
.policy-inner ul { padding-left: 20px; margin-bottom: 14px; }
.policy-inner li { font-size: 13px; color: var(--wg); line-height: 1.8; margin-bottom: 6px; }

/* CONTACT / ABOUT / WHOLESALE */
.two-col-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 60px 64px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.contact-icon { width: 42px; height: 42px; background: var(--cream-d); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-text strong { display: block; font-size: 12px; font-weight: 500; margin-bottom: 2px; }
.contact-text span { font-size: 12px; color: var(--wg); }
.form-card { background: var(--white); border-radius: 18px; padding: 34px; border: 1px solid var(--bdr); }
.form-card-title { font-family: 'Cormorant Garamond', serif; font-size: 23px; font-weight: 400; margin-bottom: 22px; }
.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 56px 64px; background: var(--white); }
.value-card { padding: 28px; background: var(--cream); border-radius: 16px; border: 1px solid var(--bdr); }
.value-icon { font-size: 32px; margin-bottom: 13px; display: block; }
.value-title { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; color: var(--char); margin-bottom: 9px; }
.value-desc { font-size: 12px; color: var(--wg); line-height: 1.72; }
.wholesale-perk { display: flex; gap: 13px; margin-bottom: 15px; align-items: flex-start; }
.perk-icon { font-size: 20px; margin-top: 2px; }
.perk-text strong { display: block; font-size: 13px; font-weight: 500; }
.perk-text span { font-size: 12px; color: var(--wg); }

/* FOOTER */
.site-footer { background: var(--char); padding: 60px 64px; color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--cream); margin-bottom: 13px; }
.footer-logo span { color: var(--sage); }
.footer-brand p { font-size: 12px; color: var(--wg); line-height: 1.82; max-width: 250px; }
.footer-brand-actions { display: flex; gap: 9px; margin-top: 16px; }
.footer-col h4 { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--wg); margin-bottom: 15px; }
.footer-link { display: block; font-size: 12px; color: rgba(245,240,232,.58); margin-bottom: 9px; transition: color .15s; }
.footer-link:hover { color: var(--sage-l); }
.footer-bottom { border-top: 1px solid rgba(245,240,232,.1); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--wg); flex-wrap: wrap; gap: 8px; }

/* FLOATING WA */
.wa-float {
  position: fixed; bottom: 26px; left: 26px; z-index: 999;
  width: 52px; height: 52px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  box-shadow: 0 6px 22px rgba(37,211,102,.34);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.09); box-shadow: 0 10px 30px rgba(37,211,102,.45); }

/* TOAST */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  background: var(--sage-d); color: #fff;
  padding: 13px 22px; border-radius: 50px;
  font-size: 13px; font-weight: 500;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  transform: translateY(20px); opacity: 0;
  transition: transform .28s, opacity .28s;
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .prod-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-menu { min-width: 580px; grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .shop-page-wrap { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; max-height: none; border-right: none; border-bottom: 1px solid var(--bdr); }
  .sidebar-subs { display: flex; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid-4, .prod-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col-section { grid-template-columns: 1fr; }
  .value-cards { grid-template-columns: 1fr 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .site-header { padding: 0 18px; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .categories-section, .products-section, .faq-section, .seo-section, .cta-band, .blog-grid, .trust-bar, .policy-section, .cart-section, .checkout-section, .two-col-section, .value-cards { padding-left: 20px; padding-right: 20px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid-4, .prod-grid-3 { grid-template-columns: 1fr 1fr; }
  .trust-bar { grid-template-columns: 1fr 1fr; padding: 36px 20px; }
  .blog-grid { grid-template-columns: 1fr; padding: 32px 20px; }
  .slide-content { width: 85%; padding: 0 24px; }
  .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
  .payment-methods { grid-template-columns: 1fr 1fr; }
  .value-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* Product category icon placeholders */
.prod-icon, .modal-prod-icon {
  display: inline-block;
  width: 60px; height: 60px;
  border-radius: 12px;
  background: var(--sage);
  opacity: 0.35;
}
.pcat-disposables { background: #7a8c6e; }
.pcat-cartridges  { background: #4a5c40; }
.pcat-edibles     { background: #c9a96e; }
.pcat-drinks      { background: #6e8ca8; }
.pcat-flower      { background: #8c6e7a; }

/* Blog post icon placeholders */
.blog-img { background: var(--cream-d); }

/* Mobile nav open state */
@media (max-width: 640px) {
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--bdr);
    padding: 12px 0;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .main-nav.mobile-open .nav-dropdown-wrap { width: 100%; }
  .main-nav.mobile-open .mega-menu { display: none; }
}

/* ---- PAGE SHOW/HIDE SYSTEM (critical) ---- */
.page { display: none; }
.page.active { display: block; }

/* ---- FOOTER HEADING FIX ---- */
h4.footer-col {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wg);
  margin-bottom: 15px;
  font-weight: 500;
  display: block;
}

/* ---- CLICKABLE ELEMENTS ---- */
.footer-link { cursor: pointer; }
.cat-card { cursor: pointer; }
.mega-link { cursor: pointer; }
.nav-link { cursor: pointer; }
.sidebar-all, .sidebar-cat-btn, .sidebar-sub { cursor: pointer; }
.sub-pill { cursor: pointer; }
.product-card { cursor: pointer; }
.blog-card { cursor: pointer; }
a[onclick] { cursor: pointer; }

/* ---- ANNOUNCEMENT BAR LINK FIX ---- */
.ann-item { cursor: pointer; text-decoration: none; }

/* ---- NAV ACTIVE STATE ---- */
.nav-link.active { background: var(--cream-d); color: var(--sage-d); }

/* ---- FOOTER OUTSIDE PAGE SYSTEM - always visible ---- */
.site-footer { display: block !important; }
.wa-float { display: flex !important; }
.toast { display: none; }
.toast.show { display: block; }

/* =====================================================
   CATEGORY & SUBCATEGORY PAGE STYLES
   ===================================================== */

/* Cat hero banner with image background */
.cat-hero-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 24px;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  background: var(--char-m);
  background-size: cover;
  background-position: center;
}
.cat-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,24,.85) 0%, rgba(26,26,24,.4) 60%, transparent 100%);
}
.cat-hero-text {
  position: relative;
  z-index: 2;
  padding: 36px 40px;
}
.cat-hero-eye {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-l);
  margin-bottom: 8px;
}
.cat-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 8px;
}
.cat-hero-title em { color: var(--gold); font-style: italic; }
.cat-hero-desc {
  font-size: 13px;
  color: rgba(245,240,232,.7);
  max-width: 480px;
  line-height: 1.7;
}

/* Subcategory pills */
.sub-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.sub-pill {
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid var(--bdr);
  background: var(--white);
  font-size: 12px;
  color: var(--wg);
  cursor: pointer;
  transition: all .15s;
  font-family: 'DM Sans', sans-serif;
}
.sub-pill:hover { border-color: var(--sage-l); color: var(--sage-d); }
.sub-pill.active { border-color: var(--sage); background: var(--sage); color: #fff; font-weight: 500; }

/* Empty category state */
.empty-cat {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--wg);
}
.empty-icon { font-size: 40px; margin-bottom: 12px; }

/* Product thumbnail color blocks */
.prod-thumb, .modal-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  display: inline-block;
}
.prod-disposables, .modal-disposables { background: linear-gradient(135deg, #4a5c40, #7a8c6e); }
.prod-cartridges,  .modal-cartridges  { background: linear-gradient(135deg, #2d3828, #4a5c40); }
.prod-edibles,     .modal-edibles     { background: linear-gradient(135deg, #8c6e3c, #c9a96e); }
.prod-drinks,      .modal-drinks      { background: linear-gradient(135deg, #2d4a5c, #6e9ab8); }
.prod-flower,      .modal-flower      { background: linear-gradient(135deg, #5c3a4a, #8c6e7a); }

/* Remove button in cart */
.btn-remove {
  border: none;
  background: none;
  cursor: pointer;
  color: var(--wg);
  font-size: 11px;
  margin-left: 8px;
  font-family: 'DM Sans', sans-serif;
  transition: color .15s;
}
.btn-remove:hover { color: #c0392b; }

/* Cart empty state */
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--wg);
}
.cart-empty-icon { font-size: 48px; margin-bottom: 16px; }

/* Minimum notice states */
.minimum-notice.warn { background: #fef3cd; border-color: #f0ad4e; }
.minimum-notice.ok   { background: #d4edda; border-color: #28a745; color: #155724; }

/* Checkout order item row */
.co-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--bdr);
  gap: 8px;
}
.co-name  { flex: 1; color: var(--wg); line-height: 1.5; }
.co-price { font-weight: 500; white-space: nowrap; }
.co-totals { margin-top: 8px; }
.summary-row.total span:last-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
}
.free { color: var(--sage); }

/* Blog icon */
.blog-icon { font-size: 36px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--wg);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--sage); text-decoration: none; cursor: pointer; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .bc-current { color: var(--wg); }

/* Sidebar group */
.sb-group { border-bottom: 1px solid var(--bdr); }
.sb-arrow { width: 9px; height: 9px; transition: transform .2s; }
.sidebar-cat-btn.open .sb-arrow { transform: rotate(180deg); }

/* Announcement bar item */
.ann-item { text-decoration: none; }

/* =====================================================
   _REDIRECTS -- add new category route patterns
   All handled via SPA, but these ensure direct URLs work
   ===================================================== */
