/* ═══════════════════════════════════════════════════════════
   Emerald Brands Wholesale Menu — Design System
   Aesthetic: Luxury Botanical
   ═══════════════════════════════════════════════════════════ */

/* ── Design Tokens ──────────────────────────────────────── */
:root {
  --eb-forest:      #0a1f1a;
  --eb-forest-mid:  #132e26;
  --eb-forest-lite: #1d3c36;
  --eb-gold:        #c9a84c;
  --eb-gold-dim:    rgba(201,168,76,0.35);
  --eb-gold-glow:   rgba(201,168,76,0.15);
  --eb-cream:       #f5f0e8;
  --eb-cream-dim:   rgba(245,240,232,0.5);
  --eb-white:       rgba(255,255,255,0.92);
  --eb-white-dim:   rgba(255,255,255,0.4);
  --eb-white-faint: rgba(255,255,255,0.08);
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

/* ── Shared: grain texture ───────────────────────────────── */
.login-grain,
.index-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ── Shared: entrance animation ──────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmerLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}


/* ═══════════════════════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════════════════════ */

.login-page {
  min-height: 100vh;
  background: var(--eb-forest);
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(201,168,76,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(29,60,54,0.8) 0%, transparent 50%),
    linear-gradient(170deg, var(--eb-forest) 0%, #061210 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Botanical line art */
.login-botanical {
  position: absolute;
  height: 55vh;
  max-height: 400px;
  width: auto;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 2s ease 0.5s forwards;
}
.login-botanical--left  { left: 5vw; bottom: 5vh; }
.login-botanical--right { right: 5vw; top: 5vh; }

/* Card */
.login-card {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--eb-white);
  padding: 3.5rem 3rem 3rem;
  max-width: 420px;
  width: 100%;
  animation: fadeUp 0.8s ease forwards;
}

/* Logo */
.login-logo-wrap {
  margin-bottom: 2rem;
}
.login-logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Divider with leaf */
.login-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.75rem;
  position: relative;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  max-width: 80px;
  background: linear-gradient(90deg, transparent, var(--eb-gold-dim), transparent);
  animation: shimmerLine 1.2s ease 0.6s both;
  transform-origin: center;
}
.login-divider-leaf {
  padding: 0 0.75rem;
  display: flex;
  opacity: 0.6;
}
.login-divider-leaf svg { fill: var(--eb-gold); }

/* Typography */
.login-card h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
  color: var(--eb-cream);
}

.login-subtitle {
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eb-white-dim);
  margin-bottom: 2.5rem;
}

/* Form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeUp 0.8s ease 0.3s both;
}

.login-error {
  font-size: 0.8rem;
  color: #ff9b8a;
  background: rgba(255,107,107,0.08);
  border: 1px solid rgba(255,107,107,0.15);
  padding: 0.55rem 1rem;
  border-radius: 8px;
}

.login-input-wrap {
  position: relative;
}

.login-form input[type="password"] {
  width: 100%;
  padding: 0.85rem 1.2rem;
  font-size: 0.9rem;
  font-family: inherit;
  background: var(--eb-white-faint);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 10px;
  color: var(--eb-cream);
  outline: none;
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 0.15em;
}
.login-form input[type="password"]::placeholder {
  color: var(--eb-white-dim);
  letter-spacing: 0.05em;
}
.login-form input[type="password"]:focus {
  border-color: var(--eb-gold-dim);
  background: rgba(201,168,76,0.06);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.08);
}

.login-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2.5rem;
  font-size: 0.78rem;
  font-family: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--eb-forest);
  background: linear-gradient(135deg, var(--eb-gold), #d4b65e);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(201,168,76,0.2);
}
.login-form button:hover {
  background: linear-gradient(135deg, #d4b65e, #dcc36e);
  box-shadow: 0 6px 30px rgba(201,168,76,0.35);
  transform: translateY(-1px);
}
.login-form button svg {
  transition: transform 0.2s;
}
.login-form button:hover svg {
  transform: translateX(3px);
}

.login-footer {
  margin-top: 2.5rem;
  font-size: 0.72rem;
  color: var(--eb-white-dim);
  letter-spacing: 0.04em;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}


/* ═══════════════════════════════════════════════════════════
   INDEX PAGE
   ═══════════════════════════════════════════════════════════ */

.index-page {
  min-height: 100vh;
  background: var(--eb-forest);
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(201,168,76,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(29,60,54,0.6) 0%, transparent 40%),
    linear-gradient(170deg, var(--eb-forest) 0%, #061210 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative corners */
.deco-corner {
  position: absolute;
  width: 200px;
  height: 200px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 2s ease 0.8s forwards;
}
.deco-corner--tl { top: 0; left: 0; }
.deco-corner--br { bottom: 0; right: 0; }

/* ── Header ──────────────────────────────────────────────── */
.index-header {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 2rem 2rem;
  color: var(--eb-white);
  animation: fadeUp 0.8s ease forwards;
}

.index-logo-wrap {
  margin-bottom: 1.75rem;
}
.index-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.index-title-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.rule-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--eb-gold-dim));
}
.rule-line:last-child {
  background: linear-gradient(90deg, var(--eb-gold-dim), transparent);
}
.rule-label {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--eb-gold);
  opacity: 0.7;
}

.index-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  color: var(--eb-cream);
}

.header-sub {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--eb-white-dim);
  letter-spacing: 0.02em;
}

.brand-card--bulk-flower .card-logo {
  filter: brightness(0) invert(1);
}

/* ── Brand card grid ─────────────────────────────────────── */
.index-main {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 3rem;
  animation: fadeUp 0.8s ease 0.2s both;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}

.brand-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  cursor: pointer;
  border: 1px solid rgba(201,168,76,0.08);
}
.brand-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.5),
    0 0 0 1px rgba(201,168,76,0.15);
}

.card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand-card:hover .card-img { transform: scale(1.06); }

.card-img--pattern {
  background: var(--card-bg);
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 40px);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.5) 40%,
    rgba(0,0,0,0.15) 100%
  );
}

.card-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  color: #ffffff;
}

.card-logo {
  max-height: 40px;
  max-width: 160px;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.card-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  letter-spacing: 0.01em;
}

.card-tagline {
  font-size: 0.8rem;
  font-weight: 300;
  opacity: 0.6;
  font-style: italic;
  margin-bottom: 1rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-count {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.5;
}

.card-cta {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 6px;
  color: var(--eb-gold);
  transition: all 0.3s ease;
}
.brand-card:hover .card-cta {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.5);
  color: #dcc36e;
}

/* ── Index footer ────────────────────────────────────────── */
.index-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem 3rem;
}
.footer-rule {
  width: 40px;
  height: 1px;
  background: var(--eb-gold-dim);
  margin: 0 auto 1.25rem;
}
.index-footer p {
  font-size: 0.72rem;
  color: var(--eb-white-dim);
  letter-spacing: 0.03em;
}


/* ═══════════════════════════════════════════════════════════
   BRAND PAGE
   ═══════════════════════════════════════════════════════════ */

/* ── Top nav ─────────────────────────────────────────────── */
.top-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-home {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  transition: all 0.15s;
}
.nav-home:hover { background: #f3f4f6; color: #111827; }

.nav-pills {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.2rem 0;
}
.nav-pills::-webkit-scrollbar { display: none; }

.pill {
  flex-shrink: 0;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  transition: all 0.15s;
  white-space: nowrap;
}
.pill:hover { background: #f3f4f6; color: #111827; border-color: #d1d5db; }
.pill.active {
  background: var(--brand-accent);
  color: var(--brand-text-on-bg);
  border-color: var(--brand-accent);
  font-weight: 600;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--brand-bg) 0%,
    rgba(0,0,0,0.6) 100%
  );
}

/* Brand-specific hero patterns for brands without images */
.brand--pleasantrees .hero-overlay {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(248,241,235,0.08) 0%, transparent 50%),
    linear-gradient(135deg, var(--brand-bg) 0%, #1a2830 100%);
}
.brand--death-row-cannabis .hero-overlay {
  background:
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,22,22,0.03) 20px, rgba(255,22,22,0.03) 21px),
    linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}
.brand--level .hero-overlay {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%),
    linear-gradient(135deg, #475bb2 0%, #38488e 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--brand-text-on-bg);
  padding: 2.5rem 2rem;
}

.hero-logo {
  max-height: 70px;
  max-width: 280px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.hero-content h1 {
  font-family: var(--brand-font);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.65;
  font-style: italic;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 2rem;
  border-radius: 8px;
}

.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
}
.stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
}
.stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.15);
}

/* ── Excise tax notice ──────────────────────────────────── */
.excise-notice {
  text-align: center;
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
}
.excise-flag {
  color: #b45309;
  font-weight: 700;
  font-size: 0.75rem;
  margin-left: 2px;
}
.excise-footnote {
  font-size: 0.75rem;
  color: #b45309;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

/* ── Category quick-nav ──────────────────────────────────── */
.cat-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--brand-bg-light);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }

.cat-nav-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #4b5563;
  white-space: nowrap;
  transition: all 0.15s;
}
.cat-nav-item:hover {
  background: rgba(0,0,0,0.05);
  color: var(--brand-accent);
}
.cat-nav-item svg {
  width: 18px;
  height: 18px;
  opacity: 0.6;
}

/* ── Controls bar (search/filter/sort/print) ────────────── */
.controls-bar {
  background: var(--brand-bg-light);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0.75rem 1.5rem;
}

.controls-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-group {
  flex: 1;
  min-width: 180px;
  position: relative;
}
.search-group svg {
  position: absolute;
  left: 0.65rem;
  color: #9ca3af;
  pointer-events: none;
}
.search-group input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 2.1rem;
  font-size: 0.8rem;
  font-family: inherit;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #ffffff;
  outline: none;
  transition: border-color 0.15s;
  color: #1a1a1a;
}
.search-group input:focus {
  border-color: var(--brand-accent);
}
.search-group input::placeholder {
  color: #9ca3af;
}

.filter-group select,
.sort-group select {
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  font-family: inherit;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  outline: none;
}
.filter-group select:focus,
.sort-group select:focus {
  border-color: var(--brand-accent);
}

.btn-print {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-text-on-bg);
  background: var(--brand-accent);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-print:hover {
  background: var(--brand-accent-hover);
}
.btn-print svg {
  width: 16px;
  height: 16px;
}
.btn-export {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: #16a34a;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-export:hover { background: #15803d; }
.btn-export svg { width: 16px; height: 16px; }

.results-count {
  max-width: 1100px;
  margin: 0.5rem auto 0;
  font-size: 0.75rem;
  color: #6b7280;
}

/* ── Menu main area ──────────────────────────────────────── */
.menu-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

/* ── Category sections ───────────────────────────────────── */
.cat-section {
  margin-bottom: 3rem;
}

.cat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--brand-accent);
}

.cat-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-accent);
  color: var(--brand-text-on-bg);
  border-radius: 8px;
  flex-shrink: 0;
}
.cat-icon svg { width: 20px; height: 20px; }

.cat-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cat-count {
  font-size: 0.75rem;
  color: #9ca3af;
}

/* ── Product line cards ──────────────────────────────────── */
.pl-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.pl-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.pl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--brand-bg-light);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.pl-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
}

.pl-count {
  font-size: 0.75rem;
  color: #9ca3af;
  background: rgba(0,0,0,0.04);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
}

/* ── Tables ──────────────────────────────────────────────── */
.pl-table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  table-layout: fixed;
}
.col-strain { width: 22%; }
.col-ish    { width: 13%; }
.col-price  { width: 14%; }
.col-qty    { width: 11%; }
.col-thc    { width: 10%; }
.col-date   { width: 15%; }

thead th {
  padding: 0.65rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  background: #fafafa;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #f3f4f6;
  white-space: nowrap;
}

.num { text-align: right; }
thead th.num { text-align: right; }

tbody tr { transition: background 0.1s; }
tbody tr:hover { background: #fafbff; }
tbody tr:last-child td { border-bottom: none; }

/* Strain name */
.col-strain { overflow: hidden; text-overflow: ellipsis; }
.strain-name {
  font-weight: 600;
  color: #111827;
  font-size: 0.88rem;
}

/* I/S/H badges */
.ish-badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ish-indica {
  background: #ede9fe;
  color: #6d28d9;
}
.ish-sativa {
  background: #fef3c7;
  color: #b45309;
}
.ish-hybrid {
  background: #d1fae5;
  color: #047857;
}
.ish-na {
  font-size: 0.75rem;
  color: #d1d5db;
}

/* Price */
.price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Quantity */
.qty {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* THC */
.thc-val {
  font-weight: 700;
  color: var(--brand-accent);
  font-variant-numeric: tabular-nums;
}
.thc-na { color: #d1d5db; }

/* Date columns */
.col-date {
  font-size: 0.8rem;
  color: #9ca3af;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Footer ──────────────────────────────────────────────── */
.menu-footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #fafafa;
  border-top: 1px solid #e5e7eb;
}
.menu-footer p {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.3rem;
}
.menu-footer a {
  font-size: 0.75rem;
  color: var(--brand-accent);
  opacity: 0.6;
  transition: opacity 0.15s;
}
.menu-footer a:hover { opacity: 1; }


/* ═══════════════════════════════════════════════════════════
   BRAND-SPECIFIC OVERRIDES
   ═══════════════════════════════════════════════════════════ */


/* ── Pleasantrees — warm botanical, serif accents ────────── */

.brand--pleasantrees .hero-overlay {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(248,241,235,0.08) 0%, transparent 50%),
    linear-gradient(135deg, #243746 0%, #1a2830 100%);
}
.brand--pleasantrees .hero-content h1 {
  font-family: Georgia, 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: 0.03em;
}
.brand--pleasantrees .cat-header h2 {
  font-family: Georgia, serif;
}
.brand--pleasantrees .btn-print {
  border-radius: 8px;
}


/* ── Binske — salmon/teal on slate, elevated lifestyle ───── */

.brand--binske .hero-overlay {
  background:
    radial-gradient(ellipse at 30% 70%, rgba(242,143,146,0.1) 0%, transparent 50%),
    linear-gradient(135deg, #2b323a 0%, #1e2228 100%);
}
.brand--binske .hero-content h1 {
  font-family: 'Bree Serif', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.brand--binske .hero-tagline {
  color: #f28f92;
  opacity: 0.7;
  font-style: italic;
}
.brand--binske .cat-header { border-color: #f28f92; }
.brand--binske .cat-header h2 { color: #f3f4f6; font-family: 'Bree Serif', Georgia, serif; }
.brand--binske .cat-count { color: #6b7280; }
.brand--binske .cat-icon { background: #f28f92; }
.brand--binske .pl-card { border-color: #3a3a3a; background: #2a2a2a; border-radius: 14px; }
.brand--binske .pl-header { background: #333333; border-color: #444; }
.brand--binske .pl-header h3 { color: #e5e7eb; font-family: 'Bree Serif', Georgia, serif; }
.brand--binske thead th { background: #252525; color: #9ca3af; border-color: #3a3a3a; }
.brand--binske td { border-color: #3a3a3a; color: #d1d5db; }
.brand--binske tbody tr:hover { background: #333333; }
.brand--binske .strain-name { color: #f3f4f6; }
.brand--binske .price, .brand--binske .qty { color: #e5e7eb; }
.brand--binske .thc-val { color: #f28f92; }
.brand--binske .menu-main { background: #222222; }
.brand--binske .menu-footer { background: #1e1e1e; border-color: #3a3a3a; }
.brand--binske .menu-footer p { color: #6b7280; }
.brand--binske .menu-footer a { color: #f28f92; }
.brand--binske .cat-nav { background: #2d2d2d; border-color: #3a3a3a; }
.brand--binske .cat-nav-item { color: #9ca3af; }
.brand--binske .cat-nav-item:hover { background: rgba(242,143,146,0.08); color: #f28f92; }
.brand--binske .pl-count { background: rgba(242,143,146,0.08); color: #f28f92; }
.brand--binske .btn-print { background: #178087; border-radius: 8px; }
.brand--binske .btn-print:hover { background: #1f5c5d; }
.brand--binske .excise-notice { background: #2a2520; color: #9ca3af; border-color: #3a3530; }
.brand--binske .excise-flag { color: #fbbf24; }
.brand--binske .excise-footnote { color: #fbbf24; }
.brand--binske .controls-bar { background: #2d2d2d; border-color: #3a3a3a; }
.brand--binske .search-group input { background: #333; border-color: #444; color: #e5e7eb; }
.brand--binske .search-group input::placeholder { color: #6b7280; }
.brand--binske .filter-group select,
.brand--binske .sort-group select { background: #333; border-color: #444; color: #d1d5db; }
.brand--binske .results-count { color: #6b7280; }
.brand--binske .ish-indica { background: rgba(242,143,146,0.15); color: #f28f92; }


/* ── Broke Boyz — pure monochrome, streetwear raw ────────── */

.brand--broke-boyz .hero { min-height: 320px; }
.brand--broke-boyz .hero-overlay {
  background: linear-gradient(
    to top,
    rgba(28,28,28,0.95) 0%,
    rgba(28,28,28,0.4) 50%,
    rgba(28,28,28,0.6) 100%
  );
}
.brand--broke-boyz .hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 3.2rem;
}
.brand--broke-boyz .hero-tagline {
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.35;
  font-size: 0.85rem;
}
.brand--broke-boyz .cat-header { border-color: #1C1C1C; border-width: 3px; }
.brand--broke-boyz .cat-header h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.brand--broke-boyz .cat-icon { background: #1C1C1C; color: #DCDCDC; }
.brand--broke-boyz .pl-card { border-color: #e5e5e5; border-radius: 0; }
.brand--broke-boyz .pl-header { background: #f5f5f5; }
.brand--broke-boyz .pl-header h3 { font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.brand--broke-boyz .thc-val { color: #1C1C1C; font-weight: 800; }
.brand--broke-boyz .ish-indica { background: #1C1C1C; color: #DCDCDC; }
.brand--broke-boyz .ish-sativa { background: #e5e5e5; color: #1C1C1C; }
.brand--broke-boyz .ish-hybrid { background: #808080; color: #ffffff; }
.brand--broke-boyz .btn-print { background: #1C1C1C; color: #DCDCDC; border-radius: 0; }
.brand--broke-boyz .btn-print:hover { background: #000000; }
.brand--broke-boyz .strain-name { font-weight: 700; }
.brand--broke-boyz .card-cta { border-radius: 0; }
.brand--broke-boyz .pill.active { border-radius: 4px; }
.brand--broke-boyz .hero-stats { border-radius: 0; }


/* ── Clout King — red on black, editorial luxury ─────────── */

.brand--clout-king .hero-overlay {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(237,28,36,0.06) 0%, transparent 50%),
    linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
}
.brand--clout-king .hero-content h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.brand--clout-king .hero-tagline {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  letter-spacing: 0.08em;
  font-style: normal;
}
.brand--clout-king .hero-logo { filter: none; }
.brand--clout-king .cat-header { border-color: #ED1C24; }
.brand--clout-king .cat-header h2 { color: #e5e7eb; font-family: 'Roboto', sans-serif; font-weight: 700; }
.brand--clout-king .cat-count { color: #64748b; }
.brand--clout-king .cat-icon { background: #ED1C24; }
.brand--clout-king .pl-card { border-color: #1f1f1f; background: #111111; }
.brand--clout-king .pl-header { background: #1a1a1a; border-color: #2a2a2a; }
.brand--clout-king .pl-header h3 { color: #e5e7eb; }
.brand--clout-king thead th { background: #0a0a0a; color: #808080; border-color: #1f1f1f; }
.brand--clout-king td { border-color: #1f1f1f; color: #cbd5e1; }
.brand--clout-king tbody tr:hover { background: #1a1a1a; }
.brand--clout-king .strain-name { color: #f1f5f9; }
.brand--clout-king .price { color: #e2e8f0; }
.brand--clout-king .qty { color: #e2e8f0; }
.brand--clout-king .thc-val { color: #ED1C24; }
.brand--clout-king .menu-main { background: #0a0a0a; }
.brand--clout-king .menu-footer { background: #050505; border-color: #1f1f1f; }
.brand--clout-king .menu-footer p { color: #475569; }
.brand--clout-king .menu-footer a { color: #ED1C24; }
.brand--clout-king .cat-nav { background: #111111; border-color: #1f1f1f; }
.brand--clout-king .cat-nav-item { color: #808080; }
.brand--clout-king .cat-nav-item:hover { background: rgba(237,28,36,0.06); color: #ED1C24; }
.brand--clout-king .pl-count { background: rgba(237,28,36,0.08); color: #ED1C24; }
.brand--clout-king .btn-print { background: #ED1C24; }
.brand--clout-king .btn-print:hover { background: #cc1519; }
.brand--clout-king .excise-notice { background: #1a1111; color: #808080; border-color: #2a1a1a; }
.brand--clout-king .excise-flag { color: #fbbf24; }
.brand--clout-king .excise-footnote { color: #fbbf24; }
.brand--clout-king .controls-bar { background: #111111; border-color: #1f1f1f; }
.brand--clout-king .search-group input { background: #1a1a1a; border-color: #2a2a2a; color: #e5e7eb; }
.brand--clout-king .search-group input::placeholder { color: #555; }
.brand--clout-king .filter-group select,
.brand--clout-king .sort-group select { background: #1a1a1a; border-color: #2a2a2a; color: #cbd5e1; }
.brand--clout-king .results-count { color: #555; }
.brand--clout-king .ish-indica { background: rgba(237,28,36,0.12); color: #ff4444; }
.brand--clout-king .ish-sativa { background: rgba(255,255,255,0.08); color: #e5e7eb; }
.brand--clout-king .ish-hybrid { background: rgba(255,255,255,0.06); color: #9ca3af; }


/* ── Death Row Cannabis — red + black, Bungee, hip-hop ───── */

.brand--death-row-cannabis .hero { min-height: 300px; }
.brand--death-row-cannabis .hero-overlay {
  background:
    repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,22,22,0.02) 30px, rgba(255,22,22,0.02) 31px),
    linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
}
.brand--death-row-cannabis .hero-content h1 {
  font-family: 'Bungee', sans-serif;
  font-size: 2.8rem;
  letter-spacing: 0.04em;
  text-shadow: 0 0 40px rgba(255,22,22,0.15);
}
.brand--death-row-cannabis .hero-tagline {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.brand--death-row-cannabis .cat-header { border-color: #ff1616; border-width: 3px; }
.brand--death-row-cannabis .cat-header h2 {
  color: #f3f4f6;
  font-family: 'Bungee', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
}
.brand--death-row-cannabis .cat-count { color: #6b7280; }
.brand--death-row-cannabis .cat-icon { background: #ff1616; border-radius: 4px; }
.brand--death-row-cannabis .pl-card { border-color: #222; background: #111; border-radius: 8px; }
.brand--death-row-cannabis .pl-header { background: #1a1a1a; border-color: #2a2a2a; }
.brand--death-row-cannabis .pl-header h3 { color: #e5e7eb; font-family: 'Open Sans', sans-serif; font-weight: 600; }
.brand--death-row-cannabis thead th { background: #0a0a0a; color: #9ca3af; border-color: #222; }
.brand--death-row-cannabis td { border-color: #222; color: #d1d5db; }
.brand--death-row-cannabis tbody tr:hover { background: #1a1a1a; }
.brand--death-row-cannabis .strain-name { color: #f3f4f6; }
.brand--death-row-cannabis .price, .brand--death-row-cannabis .qty { color: #e5e7eb; }
.brand--death-row-cannabis .thc-val { color: #ff4444; }
.brand--death-row-cannabis .menu-main { background: #080808; }
.brand--death-row-cannabis .menu-footer { background: #050505; border-color: #222; }
.brand--death-row-cannabis .menu-footer p { color: #4b5563; }
.brand--death-row-cannabis .menu-footer a { color: #ff1616; }
.brand--death-row-cannabis .cat-nav { background: #0f0f0f; border-color: #222; }
.brand--death-row-cannabis .cat-nav-item { color: #9ca3af; font-family: 'Open Sans', sans-serif; }
.brand--death-row-cannabis .cat-nav-item:hover { background: rgba(255,22,22,0.06); color: #ff1616; }
.brand--death-row-cannabis .pl-count { background: rgba(255,22,22,0.08); color: #ff4444; }
.brand--death-row-cannabis .btn-print { background: #ff1616; border-radius: 32px; }
.brand--death-row-cannabis .btn-print:hover { background: #cc1111; }
.brand--death-row-cannabis .pill.active { border-radius: 32px; }
.brand--death-row-cannabis .excise-notice { background: #1a0f0f; color: #9ca3af; border-color: #2a1a1a; }
.brand--death-row-cannabis .excise-flag { color: #fbbf24; }
.brand--death-row-cannabis .excise-footnote { color: #fbbf24; }
.brand--death-row-cannabis .controls-bar { background: #0f0f0f; border-color: #222; }
.brand--death-row-cannabis .search-group input { background: #1a1a1a; border-color: #2a2a2a; color: #e5e7eb; }
.brand--death-row-cannabis .search-group input::placeholder { color: #6b7280; }
.brand--death-row-cannabis .filter-group select,
.brand--death-row-cannabis .sort-group select { background: #1a1a1a; border-color: #2a2a2a; color: #d1d5db; }
.brand--death-row-cannabis .results-count { color: #6b7280; }
.brand--death-row-cannabis .ish-indica { background: rgba(255,22,22,0.12); color: #ff4444; }
.brand--death-row-cannabis .ish-sativa { background: rgba(255,175,34,0.12); color: #ffaf22; }
.brand--death-row-cannabis .ish-hybrid { background: rgba(255,255,255,0.08); color: #d1d5db; }


/* ── Level — white/pharma, indigo accent, clean clinical ─── */

.brand--level .hero { min-height: 240px; }
.brand--level .hero-overlay {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%),
    linear-gradient(135deg, #475bb2 0%, #38488e 100%);
}
.brand--level .hero-content h1 {
  font-family: 'Roboto', 'Helvetica Neue', sans-serif;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand--level .hero-tagline {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.04em;
}
/* Level flips to a white/light content area */
.brand--level .cat-nav { background: #ffffff; border-color: #e8eaf0; }
.brand--level .cat-nav-item { color: #475bb2; }
.brand--level .cat-nav-item:hover { background: #f4f5fb; color: #38488e; }
.brand--level .cat-header h2 { font-family: 'Roboto', sans-serif; font-weight: 300; text-transform: uppercase; letter-spacing: 0.08em; }
.brand--level .cat-icon { border-radius: 50%; }
.brand--level .pl-card { border-radius: 14px; border-color: #e8eaf0; }
.brand--level .pl-header { background: #f4f5fb; }
.brand--level .pl-header h3 { font-family: 'Roboto', sans-serif; font-weight: 400; }
.brand--level .thc-val { color: #475bb2; }
.brand--level .btn-print { border-radius: 9999px; }
.brand--level .pill { border-radius: 9999px; }
.brand--level .pill.active { border-radius: 9999px; }
.brand--level .strain-name { font-weight: 500; }
.brand--level .menu-footer { background: #f9fafb; }
.brand--level .menu-footer a { color: #475bb2; }
.brand--level .ish-indica { background: #e8eaf4; color: #475bb2; }
.brand--level .ish-sativa { background: #f0f4e8; color: #5a7a2a; }
.brand--level .ish-hybrid { background: #eef0f8; color: #6b7280; }


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .login-card { padding: 2.5rem 1.5rem; }
  .login-card h1 { font-size: 1.8rem; }
  .login-botanical { display: none; }

  .index-header h1 { font-size: 2rem; }
  .index-logo { height: 36px; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-card { min-height: 200px; }
  .deco-corner { display: none; }

  .hero { min-height: 220px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-stats { padding: 0.5rem 1.25rem; gap: 1rem; }
  .stat-num { font-size: 1.1rem; }
  .menu-main { padding: 1rem; }
  td, thead th { padding: 0.5rem 0.65rem; }
  .cat-nav { justify-content: flex-start; }
  .controls-inner { flex-direction: column; align-items: stretch; }
  .search-group { min-width: 100%; }
  .filter-group, .sort-group { flex: 1; }
  .filter-group select, .sort-group select { flex: 1; }
  .actions-group { justify-content: center; }
}

@media (max-width: 480px) {
  .login-card { padding: 2rem 1.25rem; }
  .login-card h1 { font-size: 1.5rem; }
  .login-subtitle { font-size: 0.7rem; }

  .top-nav { padding: 0.5rem 0.75rem; gap: 0.5rem; }
  .pill { font-size: 0.7rem; padding: 0.3rem 0.65rem; }
  .nav-home span { display: none; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-tagline { font-size: 0.85rem; }
  table { font-size: 0.78rem; }
}


/* ═══════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════ */

@media print {
  .top-nav, .cat-nav, .menu-footer, .controls-bar { display: none; }
  .hero { min-height: auto; padding: 1.5rem; print-color-adjust: exact; }
  .hero-stats { display: none; }
  .cat-section { break-inside: avoid; }
  .pl-card { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
  thead th { background: #f3f4f6 !important; color: #1a1a1a !important; }
  .brand--clout-king td,
  .brand--death-row-cannabis td { color: #1a1a1a !important; }
  .brand--clout-king .pl-card,
  .brand--death-row-cannabis .pl-card { background: #fff !important; }
}
