/* =========================================================================
   LEAFTAIL EXOTICS — MASTER STYLESHEET
   "Lab meets jungle" — mobile-first, dark jungle palette, orange accents
   ========================================================================= */

/* --------------------------------------------------------------------------
   1. RESET & TOKENS
   -------------------------------------------------------------------------- */

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

:root {
  /* Brand palette */
  --jungle-deep:    #0a1f14;
  --jungle-mid:     #143324;
  --jungle-light:   #1f4a35;
  --jungle-line:    #2a5a40;

  --orange:         #f97316;
  --orange-bright:  #fb923c;
  --orange-deep:    #c2570c;

  --leaf:           #97c459;
  --leaf-deep:      #639922;
  --leaf-shadow:    #3b6d11;

  --parchment:      #f5f1e8;
  --parchment-dark: #ebe5d3;
  --bone:           #fafaf5;

  --text-dark:      #0a1f14;
  --text-mid:       #4a4a45;
  --text-light:     #f5f1e8;
  --text-muted:     #8a8a82;
  --text-on-dark:   #d3d1c7;

  --danger:         #a32d2d;
  --danger-light:   #fcebeb;
  --warn:           #ba7517;

  /* Typography */
  --font-body:   'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display:'Inter', system-ui, sans-serif;
  --font-mono:   'JetBrains Mono', 'Courier New', ui-monospace, monospace;

  /* Layout */
  --container:     1200px;
  --container-narrow: 880px;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.18);

  --t-fast: 150ms ease-out;
  --t-med:  250ms ease-out;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-deep); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--orange); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --------------------------------------------------------------------------
   2. TYPOGRAPHY
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
}

h1 { font-size: clamp(1.75rem, 4vw + 1rem, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1rem; }
.lead { font-size: 1.125rem; color: var(--text-mid); }

.mono     { font-family: var(--font-mono); }
.italic   { font-style: italic; }
.label    { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--leaf-deep); }
.label-orange { color: var(--orange); }
.label-muted  { color: var(--text-muted); }

.sci-name { font-style: italic; }

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */

.container        { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 1rem; }

@media (min-width: 768px) {
  .container, .container-narrow { padding: 0 2rem; }
}

main { display: block; min-height: 50vh; }

.section        { padding: 3rem 0; }
.section-tight  { padding: 1.5rem 0; }
.section-wide   { padding: 5rem 0; }
.section-dark   { background: var(--jungle-deep); color: var(--text-light); }
.section-jungle { background: var(--jungle-mid); color: var(--text-light); }
.section-parchment { background: var(--parchment); }

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.section-jungle h1, .section-jungle h2, .section-jungle h3, .section-jungle h4 {
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   4. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   4. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--jungle-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow:
    0 1px 0 rgba(151, 196, 89, 0.06),
    0 4px 16px rgba(0, 0, 0, 0.25);
}

/* Header inner = single flex row, fixed height, everything centered.
   Using fixed height (not min-height) so children can't push it taller. */
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem;
  max-width: var(--container);
  margin: 0 auto;
  height: 72px;
}

@media (min-width: 768px) {
  .site-header__inner {
    padding: 0 2rem;
    height: 84px;
  }
}

/* Brand link — flex itself so the image inside centers cleanly.
   line-height:0 kills the inline-block baseline gap that pushes images
   down by the height of a descender. */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

.brand img {
  height: 52px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .brand img { height: 60px; }
}

/* Hide the redundant text node from sighted users; logo carries the wordmark */
.brand-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Primary nav — flex row, centered to header height. */
.nav-primary {
  display: none;
  align-items: center;
  gap: 1.75rem;
  height: 100%;
}

.nav-primary a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: var(--text-on-dark);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color var(--t-fast);
  text-decoration: none;
}

.nav-primary a:hover { color: #fff; }
.nav-primary a.active { color: var(--orange); }
.nav-primary a.active::after {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

.nav-cart {
  color: var(--orange) !important;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .nav-primary { display: inline-flex; }
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: none;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
  display: block;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Mobile nav drawer — sits above the viewport when closed,
   slides down to its target position when opened. */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--jungle-deep);
  border-top: 1px solid var(--jungle-line);
  border-bottom: 1px solid var(--jungle-line);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  transform: translateY(-100%);
  transition: transform var(--t-med);
  z-index: 99;
  visibility: hidden;
}
.nav-mobile.is-open {
  transform: translateY(72px);
  visibility: visible;
}
.nav-mobile a {
  display: block;
  padding: 0.85rem 0.5rem;
  color: var(--text-on-dark);
  font-size: 1rem;
  border-bottom: 1px solid var(--jungle-line);
  text-decoration: none;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.active { color: var(--orange); }

@media (min-width: 768px) {
  .nav-mobile.is-open { transform: translateY(84px); }
}

/* --------------------------------------------------------------------------
   5. HERO
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--jungle-deep);
  color: var(--text-light);
  overflow: hidden;
  padding: 3rem 0 4rem;
}

/* Atmospheric color wash */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(151, 196, 89, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 75%, rgba(249, 115, 22, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 110%, rgba(99, 153, 34, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Layered foliage silhouettes — monstera leaves, ferns, palm fronds.
   Sized large; sit on the right side so they don't fight headline text. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800' preserveAspectRatio='xMaxYMid slice'><defs><linearGradient id='leafFade' x1='0%25' y1='0%25' x2='100%25' y2='100%25'><stop offset='0%25' stop-color='%23143324' stop-opacity='0.55'/><stop offset='100%25' stop-color='%231f4a35' stop-opacity='0.25'/></linearGradient></defs><g fill='url(%23leafFade)'><path d='M 1050 -50 Q 1180 100 1150 280 Q 1080 240 1020 180 Q 960 120 980 40 Q 1010 -30 1050 -50 Z M 1080 60 L 1100 200 M 1040 40 L 1060 180 M 1000 50 L 1030 170'/><path d='M 1200 200 Q 1100 250 1020 320 Q 950 390 980 480 Q 1080 460 1160 380 Q 1230 300 1200 200 Z' opacity='0.8'/><path d='M 850 -30 Q 940 80 920 200 Q 870 180 830 130 Q 790 80 800 20 Q 820 -20 850 -30 Z' opacity='0.65'/><path d='M 1150 550 Q 1080 620 980 660 Q 900 690 850 770 Q 950 800 1060 760 Q 1170 720 1200 620 Q 1190 580 1150 550 Z'/><path d='M 920 600 Q 980 680 970 780 Q 920 760 880 700 Q 850 640 870 600 Q 895 580 920 600 Z' opacity='0.7'/><path d='M 760 700 Q 820 760 810 800 L 700 800 Q 720 750 760 700 Z' opacity='0.5'/></g><g stroke='%23143324' stroke-width='2' fill='none' opacity='0.5'><path d='M 1140 100 Q 1120 200 1100 280 M 1100 280 L 1090 270 M 1100 280 L 1110 295 M 1090 250 L 1075 245 M 1090 250 L 1105 265'/><path d='M 880 80 Q 900 180 910 260 M 905 240 L 895 235 M 905 240 L 915 250'/></g></svg>");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.hero__inner { position: relative; z-index: 2; }

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--leaf);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
  max-width: 18ch;
}

.hero h1 .accent { color: var(--orange); }

.hero__lead {
  color: var(--text-on-dark);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 50ch;
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .hero { padding: 5rem 0 6rem; }
  .hero__lead { font-size: 1.2rem; }
}

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--r-md);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--t-fast);
  text-align: center;
  line-height: 1.2;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary    { background: var(--orange); color: var(--jungle-deep); }
.btn-primary:hover  { background: var(--orange-bright); color: var(--jungle-deep); }

.btn-secondary  { background: transparent; color: var(--leaf); border-color: var(--leaf-deep); }
.btn-secondary:hover { background: var(--leaf-deep); color: #fff; }

.btn-dark   { background: var(--jungle-deep); color: var(--text-light); }
.btn-dark:hover { background: var(--jungle-mid); color: #fff; }

.btn-ghost  { background: transparent; color: var(--text-dark); border-color: var(--text-dark); }
.btn-ghost:hover { background: var(--text-dark); color: #fff; }

.btn-block { display: flex; width: 100%; }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   7. SPECIES OF THE DAY
   -------------------------------------------------------------------------- */

.species-day {
  background: var(--parchment);
  border-top: 1px dashed rgba(249, 115, 22, 0.4);
  border-bottom: 1px solid var(--parchment-dark);
  position: relative;
}

.species-day__head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.species-day__head .countdown {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.species-day__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .species-day__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .species-day__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.species-day__photo {
  background: var(--jungle-mid);
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  box-shadow: var(--shadow-md);
}
.species-day__photo img { width: 100%; height: 100%; object-fit: cover; }
.species-day__photo .credit {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(10, 31, 20, 0.75);
  color: #fff;
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: var(--font-mono);
}

.species-day h2 {
  font-style: italic;
  font-size: 1.75rem;
  margin: 0.25rem 0;
}

.species-data {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(10, 31, 20, 0.04);
  border-left: 3px solid var(--leaf-deep);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.species-data .key   { color: var(--text-muted); letter-spacing: 0.05em; }
.species-data .value { color: var(--text-dark); }
.species-data .value.danger { color: var(--danger); }

/* --------------------------------------------------------------------------
   8. PRODUCT CARDS
   -------------------------------------------------------------------------- */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.product-card {
  background: #fff;
  border: 1px solid var(--parchment-dark);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.product-card__image {
  aspect-ratio: 1;
  background: var(--parchment);
  position: relative;
  overflow: hidden;
}
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.product-card:hover .product-card__image img { transform: scale(1.04); }

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--jungle-mid), var(--jungle-light));
  color: var(--leaf);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--jungle-deep);
  color: var(--orange);
  font-size: 0.65rem;
  padding: 4px 8px;
  border-radius: 3px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.badge.rare { background: var(--danger); color: #fff; }
.badge.bundle { background: var(--leaf-deep); color: #fff; }

.product-card__body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.product-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

.product-card__sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  flex: 1;
}

.product-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.product-card__price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange-deep);
}

.product-card__stock {
  font-family: var(--font-mono);
  font-size: 0.7rem;
}
.product-card__stock.in   { color: var(--leaf-deep); }
.product-card__stock.low  { color: var(--warn); }
.product-card__stock.out  { color: var(--danger); }

/* --------------------------------------------------------------------------
   9. TRUST BAR
   -------------------------------------------------------------------------- */

.trust-bar {
  background: var(--parchment);
  padding: 2rem 0;
  border-top: 1px solid var(--parchment-dark);
  border-bottom: 1px solid var(--parchment-dark);
}

.trust-bar__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) { .trust-bar__grid { grid-template-columns: repeat(4, 1fr); } }

.trust-item { text-align: center; }
.trust-item__num {
  width: 44px;
  height: 44px;
  background: var(--jungle-deep);
  border-radius: 50%;
  margin: 0 auto 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
}
.trust-item h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.trust-item p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------------------------
   10. SHOP / FILTERS
   -------------------------------------------------------------------------- */

.shop-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .shop-layout { grid-template-columns: 220px 1fr; gap: 2rem; }
}

.filters {
  background: var(--bone);
  border: 1px solid var(--parchment-dark);
  border-radius: var(--r-md);
  padding: 1.25rem;
}

.filters h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  font-weight: 500;
}

.filters h4:not(:first-child) { margin-top: 1.25rem; }

.filter-list { list-style: none; }
.filter-list li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-mid);
  transition: color var(--t-fast);
}
.filter-list li:hover { color: var(--orange); }
.filter-list li.active { color: var(--orange); font-weight: 600; }

.shop-results__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-mid);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 1rem 0;
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs strong { color: var(--text-dark); font-weight: 600; }

/* --------------------------------------------------------------------------
   11. CARE SHEET
   -------------------------------------------------------------------------- */

.caresheet-header {
  background: var(--parchment);
  border-bottom: 1px dashed var(--text-muted);
  padding: 1.5rem 0;
}

.caresheet-header__inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .caresheet-header__inner { flex-direction: row; justify-content: space-between; }
}

.caresheet-header .doc-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}
.caresheet-header .doc-meta .accent { color: var(--orange); display: block; }

.caresheet-hero {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .caresheet-hero { grid-template-columns: 280px 1fr; gap: 2rem; }
}

.caresheet-hero__photo {
  background: var(--jungle-mid);
  border-radius: var(--r-md);
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}
.caresheet-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.caresheet-hero__photo .fig {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(10, 31, 20, 0.8);
  color: #fff;
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: var(--font-mono);
}

.caresheet-hero h1 {
  font-style: italic;
  font-size: clamp(1.75rem, 3vw + 1rem, 2.5rem);
  margin-bottom: 0.25rem;
}
.caresheet-hero .common-name {
  color: var(--text-mid);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.spec-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--parchment-dark);
}
.spec-quick .key { color: var(--text-muted); letter-spacing: 0.05em; display: block; font-size: 0.7rem; margin-bottom: 0.1rem; }
.spec-quick .value { color: var(--text-dark); font-size: 0.95rem; font-family: var(--font-body); }

.env-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 2rem;
}

@media (min-width: 768px) { .env-grid { grid-template-columns: repeat(4, 1fr); } }

.env-card {
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  border-left: 4px solid;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.env-card .key { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.12em; opacity: 0.7; }
.env-card .value { font-size: 1.05rem; font-weight: 700; line-height: 1.2; margin-top: 0.2rem; }
.env-card .sub { font-size: 0.75rem; opacity: 0.8; }

.env-temp     { background: #faeeda; border-left-color: #ba7517; color: #412402; }
.env-humidity { background: #e6f1fb; border-left-color: #185fa5; color: #042c53; }
.env-enclosure{ background: #eaf3de; border-left-color: #3b6d11; color: #173404; }
.env-diet     { background: #eeedfe; border-left-color: #534ab7; color: #26215c; }

.caresheet-body h3 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.6rem;
  color: var(--jungle-deep);
}
.caresheet-body h3:first-child { margin-top: 0; }
.caresheet-body p { line-height: 1.7; color: var(--text-mid); margin-bottom: 1rem; }

.disclaimer-box {
  background: #501313;
  color: #f7c1c1;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  margin-top: 2rem;
  font-size: 0.8rem;
  line-height: 1.6;
}
.disclaimer-box strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: #f09595;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   12. CARE SHEET INDEX CARDS
   -------------------------------------------------------------------------- */

.cs-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cs-card {
  background: #fff;
  border: 1px solid var(--parchment-dark);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.cs-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cs-card__image { aspect-ratio: 16/9; background: var(--jungle-mid); overflow: hidden; }
.cs-card__image img { width: 100%; height: 100%; object-fit: cover; }
.cs-card__body { padding: 1rem; }
.cs-card__title {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 600;
  color: var(--jungle-deep);
}
.cs-card__sub { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.5rem; }
.cs-card__meta {
  display: flex;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.difficulty-dots { display: inline-flex; gap: 2px; }
.difficulty-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--parchment-dark);
}
.difficulty-dots span.active { background: var(--leaf-deep); }

/* --------------------------------------------------------------------------
   13. ABOUT PAGE
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin: 2rem 0;
}

@media (min-width: 768px) { .about-grid { grid-template-columns: repeat(3, 1fr); } }

.about-card {
  background: #fff;
  border: 1px solid var(--parchment-dark);
  border-radius: var(--r-md);
  padding: 1.5rem;
}
.about-card .num {
  font-family: var(--font-mono);
  color: var(--orange);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}
.about-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.about-card p { font-size: 0.9rem; color: var(--text-mid); margin: 0; }

.shipping-banner {
  background: var(--jungle-deep);
  color: var(--text-light);
  padding: 1.5rem;
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .shipping-banner { flex-direction: row; align-items: center; justify-content: space-between; }
}

.shipping-banner__icon {
  width: 56px;
  height: 56px;
  background: var(--orange);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--jungle-deep);
}

.shipping-banner__text strong { color: var(--orange); display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em; margin-bottom: 0.25rem; }
.shipping-banner__text p { color: var(--text-on-dark); margin: 0; font-size: 0.95rem; }

.map-wrap {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--parchment-dark);
}
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; }

/* --------------------------------------------------------------------------
   14. CHATBOT
   -------------------------------------------------------------------------- */

.chatbot-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  background: var(--orange);
  color: var(--jungle-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 90;
  border: 2px solid rgba(10, 31, 20, 0.15);
  opacity: 0.72;
  transition: opacity var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  font-family: inherit;
  padding: 0;
}
.chatbot-fab:hover,
.chatbot-fab:focus-visible {
  opacity: 1;
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  outline: none;
}
.chatbot-fab svg {
  width: 26px;
  height: 26px;
  display: block;
}
.chatbot-fab .fab-pulse {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  background: var(--leaf);
  border: 2px solid var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

.chatbot-window {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: calc(100vw - 2rem);
  max-width: 380px;
  height: 70vh;
  max-height: 600px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 95;
  border: 1px solid var(--parchment-dark);
}

.chatbot-window.is-open { display: flex; }

.chatbot-header {
  background: var(--jungle-deep);
  color: #fff;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--orange);
}
.chatbot-header__title { display: flex; align-items: center; gap: 0.6rem; }
.chatbot-header__title .pulse { width: 8px; height: 8px; background: var(--leaf); border-radius: 50%; animation: pulse 2s infinite; }
.chatbot-header__title strong { font-size: 0.95rem; }
.chatbot-header__title small { display: block; color: var(--text-on-dark); font-size: 0.7rem; }
.chatbot-close {
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0 0.4rem;
  cursor: pointer;
}

.chatbot-disclaimer {
  background: var(--parchment);
  padding: 0.6rem 1rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--parchment-dark);
  font-family: var(--font-mono);
  line-height: 1.5;
}

.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--bone);
}

.chat-msg {
  max-width: 85%;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  line-height: 1.5;
  word-wrap: break-word;
}
.chat-msg.bot { background: #fff; border: 1px solid var(--parchment-dark); align-self: flex-start; border-top-left-radius: 2px; }
.chat-msg.user { background: var(--jungle-deep); color: var(--text-light); align-self: flex-end; border-top-right-radius: 2px; }
.chat-msg.bot .recommend { color: var(--orange-deep); font-weight: 600; display: block; font-size: 0.75rem; margin-bottom: 0.25rem; font-family: var(--font-mono); letter-spacing: 0.05em; }

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem 0.5rem;
}
.chat-suggestion {
  background: var(--parchment);
  border: 1px solid var(--parchment-dark);
  color: var(--text-mid);
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--t-fast);
}
.chat-suggestion:hover { background: var(--orange); color: var(--jungle-deep); border-color: var(--orange); }

.chatbot-form {
  display: flex;
  border-top: 1px solid var(--parchment-dark);
  background: #fff;
}
.chatbot-form input {
  flex: 1;
  border: none;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  background: transparent;
}
.chatbot-form button {
  background: var(--orange);
  color: var(--jungle-deep);
  border: none;
  padding: 0 1.25rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
}
.chatbot-form button:hover { background: var(--orange-bright); }

/* --------------------------------------------------------------------------
   15. FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--jungle-deep);
  color: var(--text-on-dark);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.site-footer h5 {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-grid a { color: var(--text-on-dark); display: block; padding: 0.25rem 0; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--orange); }
.footer-grid p { font-size: 0.85rem; color: var(--text-on-dark); margin-bottom: 0.5rem; }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--jungle-line);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* --------------------------------------------------------------------------
   16. UTILITIES
   -------------------------------------------------------------------------- */

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   17. APPAREL / MERCH
   -------------------------------------------------------------------------- */

.merch-hero {
  background: linear-gradient(135deg, var(--jungle-deep), var(--jungle-light));
  color: var(--text-light);
  padding: 3rem 0;
  text-align: center;
  border-radius: var(--r-md);
  margin-bottom: 2rem;
}
.merch-hero h2 { color: #fff; }
.merch-hero p { color: var(--text-on-dark); }
