/* ==========================================================================
   Urban Goes Green — Plant Guide Custom Styles
   Supplements Tailwind CSS (loaded via CDN)
   ========================================================================== */

:root {
  --ugg-primary: #2D6A4F;
  --ugg-primary-dark: #1B4332;
  --ugg-light: #52B788;
  --ugg-accent: #95D5B2;
  --ugg-bg: #F8FAF5;
  --ugg-text: #1B1B1B;
  --ugg-muted: #6B7280;
  --ugg-border: #E5E7EB;
  --ugg-card-shadow: 0 1px 3px 0 rgba(0,0,0,0.05), 0 1px 2px 0 rgba(0,0,0,0.03);
  --ugg-card-shadow-hover: 0 12px 24px -8px rgba(45,106,79,0.18), 0 4px 8px rgba(0,0,0,0.05);
}

/* Base typography */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ugg-text);
  background: var(--ugg-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Utility brand classes */
.ugg-primary       { color: var(--ugg-primary); }
.ugg-bg-primary    { background-color: var(--ugg-primary); }
.ugg-bg-light      { background-color: var(--ugg-light); }
.ugg-bg-accent     { background-color: var(--ugg-accent); }
.ugg-text          { color: var(--ugg-text); }
.ugg-border        { border-color: var(--ugg-border); }

/* ----------------- Buttons ----------------- */
.btn-primary {
  background: var(--ugg-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover {
  background: var(--ugg-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 12px -4px rgba(45,106,79,0.4);
}
.btn-secondary {
  background: #fff;
  color: var(--ugg-primary);
  border: 1.5px solid var(--ugg-primary);
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background: var(--ugg-primary);
  color: #fff;
}

/* ----------------- Hero search ----------------- */
.hero-search-input {
  width: 100%;
  padding: 1.1rem 1.5rem 1.1rem 3.5rem;
  font-size: 1.05rem;
  border: 2px solid var(--ugg-border);
  border-radius: 1rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232D6A4F' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") no-repeat 1.2rem center;
  background-size: 1.4rem;
  transition: all 0.2s ease;
}
.hero-search-input:focus {
  outline: none;
  border-color: var(--ugg-primary);
  box-shadow: 0 0 0 4px rgba(45,106,79,0.12);
}

/* Autocomplete dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--ugg-border);
  border-radius: 0.75rem;
  box-shadow: 0 12px 32px -8px rgba(0,0,0,0.15);
  max-height: 420px;
  overflow-y: auto;
  z-index: 50;
  display: none;
}
.autocomplete-dropdown.is-open { display: block; }
.autocomplete-item {
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  border-bottom: 1px solid var(--ugg-border);
  transition: background 0.15s ease;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover,
.autocomplete-item.is-active { background: var(--ugg-bg); }
.autocomplete-item .name {
  font-weight: 600;
  color: var(--ugg-text);
}
.autocomplete-item .filipino {
  color: var(--ugg-muted);
  font-style: italic;
  margin-left: 0.5rem;
}
.autocomplete-item .badges {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.35rem;
  flex-wrap: wrap;
}

/* ----------------- Category badges ----------------- */
.cat-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cat-leafy        { background: #DCFCE7; color: #166534; }
.cat-fruiting     { background: #FEF3C7; color: #92400E; }
.cat-root         { background: #FED7AA; color: #9A3412; }
.cat-legumes      { background: #E0E7FF; color: #3730A3; }
.cat-fruits       { background: #FCE7F3; color: #9D174D; }
.cat-herbs        { background: #D1FAE5; color: #065F46; }
.cat-medicinal    { background: #DDD6FE; color: #5B21B6; }
/* Ornamental categories */
.cat-foliage      { background: #D1FAE5; color: #065F46; }
.cat-flowering    { background: #FCE7F3; color: #9D174D; }
.cat-succulents   { background: #FEF3C7; color: #92400E; }
.cat-trees        { background: #E0E7FF; color: #3730A3; }

/* Type badge (Edible / Ornamental) */
.type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}
.type-edible      { background: #DCFCE7; color: #166534; }
.type-ornamental  { background: #FDF2F8; color: #BE185D; }

/* ----------------- Plant card grid (compact, no image) ----------------- */
.plant-card {
  background: #fff;
  border: 1px solid var(--ugg-border);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
  box-shadow: var(--ugg-card-shadow);
}
.plant-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ugg-card-shadow-hover);
}

/* Compact card layout */
.plant-card-compact .card-link {
  display: flex;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  min-height: 0;
}
.plant-card-compact .card-initial {
  width: 64px;
  min-height: 100%;
  background: linear-gradient(135deg, var(--ugg-accent), var(--ugg-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
  flex-shrink: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.plant-card-compact .card-content {
  padding: 1rem 1.15rem;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.plant-card-compact .card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}
.plant-card-compact .title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.05rem;
  line-height: 1.3;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.plant-card-compact .filipino {
  color: var(--ugg-muted);
  font-style: italic;
  font-size: 0.82rem;
}
.plant-card-compact .card-right-icons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.plant-card-compact .card-icon-container {
  font-size: 1.1rem;
}
.plant-card-compact .card-arrow {
  color: var(--ugg-primary);
  font-weight: 700;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}
.plant-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}
.plant-card-compact .card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.plant-card-compact .stats {
  display: flex;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--ugg-muted);
  flex-wrap: wrap;
}
.plant-card-compact .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.chip {
  background: #F3F4F6;
  color: #374151;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-weight: 500;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Stagger animation for grid items */
.plant-card:nth-child(1)  { animation-delay: 0.00s; }
.plant-card:nth-child(2)  { animation-delay: 0.04s; }
.plant-card:nth-child(3)  { animation-delay: 0.08s; }
.plant-card:nth-child(4)  { animation-delay: 0.12s; }
.plant-card:nth-child(5)  { animation-delay: 0.16s; }
.plant-card:nth-child(6)  { animation-delay: 0.20s; }

/* ---- Pagination ---- */
.pgn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.pgn-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--ugg-border);
  border-radius: 0.625rem;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ugg-text);
  cursor: pointer;
  transition: all 0.18s ease;
}
.pgn-btn:hover:not(:disabled) {
  border-color: var(--ugg-primary);
  color: var(--ugg-primary);
  background: #F0FDF4;
}
.pgn-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.pgn-nums {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.pgn-num {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1.5px solid transparent;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ugg-muted);
  cursor: pointer;
  transition: all 0.18s ease;
}
.pgn-num:hover {
  background: #F3F4F6;
  color: var(--ugg-text);
}
.pgn-num.is-active {
  background: var(--ugg-primary);
  color: #fff;
  border-color: var(--ugg-primary);
}
.pgn-ellipsis {
  width: 28px;
  text-align: center;
  color: var(--ugg-muted);
  font-weight: 600;
}
.pgn-info {
  text-align: center;
  font-size: 0.78rem;
  color: var(--ugg-muted);
  margin-top: 0.75rem;
}
@media (max-width: 480px) {
  .pgn-prev-text,
  .pgn-next-text { display: none; }
  .pgn-btn { padding: 0.5rem 0.65rem; }
}

/* ----------------- Filter bar ----------------- */
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border: 1.5px solid var(--ugg-border);
  background: #fff;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}
.filter-chip:hover { border-color: var(--ugg-primary); }
.filter-chip.is-active {
  background: var(--ugg-primary);
  color: #fff;
  border-color: var(--ugg-primary);
}
.filter-chip .remove {
  margin-left: 0.25rem;
  font-weight: 700;
  opacity: 0.7;
}

/* ----------------- Plant page sections ----------------- */
.profile-hero {
  background: linear-gradient(135deg, var(--ugg-primary), var(--ugg-light));
  color: #fff;
  padding: 4rem 0 5rem;
  position: relative;
}
.profile-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 0.5rem;
}
.profile-hero .filipino {
  font-size: 1.25rem;
  opacity: 0.92;
}
.profile-hero .scientific {
  font-style: italic;
  opacity: 0.85;
  margin-top: 0.25rem;
}

.section-card {
  background: #fff;
  border: 1px solid var(--ugg-border);
  border-radius: 1rem;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.section-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Quick stats sidebar card */
.quick-stats {
  background: #fff;
  border: 1px solid var(--ugg-border);
  border-radius: 1rem;
  padding: 1.5rem;
}
.quick-stats .row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--ugg-border);
  gap: 1rem;
}
.quick-stats .row:last-child { border-bottom: none; }
.quick-stats .label {
  color: var(--ugg-muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.quick-stats .value {
  font-weight: 600;
  text-align: right;
  font-size: 0.9rem;
}

/* Germination timeline */
.timeline {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
}
@media (max-width: 768px) {
  .timeline { flex-direction: column; }
}
.timeline-step {
  flex: 1 0 200px;
  background: var(--ugg-bg);
  border-left: 3px solid var(--ugg-primary);
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  position: relative;
}
.timeline-step .step-num {
  position: absolute;
  top: -10px;
  left: 1rem;
  background: var(--ugg-primary);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Seasonal calendar grid */
.season-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  margin-top: 0.5rem;
}
.season-cell {
  text-align: center;
  padding: 0.5rem 0.25rem;
  border-radius: 0.35rem;
  background: #F3F4F6;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ugg-muted);
}
.season-cell.is-best {
  background: var(--ugg-light);
  color: #fff;
}

/* Tabs (propagation methods) */
.tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--ugg-border);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 0.6rem 1.25rem;
  background: transparent;
  border: none;
  font-weight: 600;
  color: var(--ugg-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.18s ease;
}
.tab-btn:hover { color: var(--ugg-primary); }
.tab-btn.is-active {
  color: var(--ugg-primary);
  border-bottom-color: var(--ugg-primary);
}
.tab-btn .badge-recommended {
  background: var(--ugg-light);
  color: #fff;
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  margin-left: 0.4rem;
  letter-spacing: 0.04em;
}
.tab-content { display: none; }
.tab-content.is-active { display: block; }

/* Accordion */
.accordion-item {
  border: 1px solid var(--ugg-border);
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s ease;
}
.accordion-trigger:hover { background: var(--ugg-bg); }
.accordion-trigger .chev { transition: transform 0.25s ease; }
.accordion-item.is-open .chev { transform: rotate(180deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.25rem;
  background: var(--ugg-bg);
}
.accordion-item.is-open .accordion-content {
  max-height: 600px;
  padding: 1rem 1.25rem 1.25rem;
}

/* UGG Pro Tips callout */
.pro-tips {
  background: linear-gradient(135deg, var(--ugg-primary), var(--ugg-primary-dark));
  color: #fff;
  border-radius: 1rem;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}
.pro-tips::before {
  content: "🌱";
  position: absolute;
  font-size: 8rem;
  opacity: 0.08;
  right: -1rem;
  top: -1rem;
  pointer-events: none;
}
.pro-tips h2 { color: #fff; }
.pro-tips ul { margin-top: 0.75rem; }
.pro-tips li {
  padding: 0.4rem 0;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

/* Skeletons / loading */
.skeleton {
  background: linear-gradient(90deg, #eaeef0 0%, #f3f5f7 50%, #eaeef0 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 0.5rem;
}
@keyframes shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Visually hidden (a11y) */
.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;
}

/* Focus rings — accessibility */
*:focus-visible {
  outline: 3px solid var(--ugg-light);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Scrollbar styling */
.autocomplete-dropdown::-webkit-scrollbar { width: 8px; }
.autocomplete-dropdown::-webkit-scrollbar-thumb { background: var(--ugg-accent); border-radius: 4px; }

/* Mobile nav */
.mobile-menu {
  display: none;
}
.mobile-menu.is-open {
  display: block;
}

/* Responsive grid breakpoints */
.plant-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .plant-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .plant-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   PLANT PROFILE PAGE v2 — Infographic-style redesign
   All new classes below — old plant-page classes above are kept intact
   for backward compatibility with index.html
   ========================================================================== */

/* --- Scroll offset for sticky headers --- */
[id^="sec-"] {
  scroll-margin-top: 140px;
}

/* ========== HERO v2 ========== */
.profile-hero-v2 {
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 40%, #52B788 100%);
  color: #fff;
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-1 {
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
}
.hero-orb-2 {
  bottom: -40%;
  left: -8%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(149,213,178,0.12) 0%, transparent 70%);
}

.profile-headline {
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 0.75rem;
  max-width: 800px;
  letter-spacing: -0.02em;
}
.profile-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  opacity: 0.82;
  line-height: 1.6;
  max-width: 650px;
  margin-bottom: 1.25rem;
}

/* Hero name tags (Filipino / Scientific) */
.hero-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.hero-name-tag {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-name-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.65;
}

/* Hero quick-stat pills */
.hero-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.hero-stat-pill {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1rem;
  padding: 0.65rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 140px;
}
.hero-stat-emoji {
  font-size: 1.35rem;
  flex-shrink: 0;
}
.hero-stat-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.7;
  line-height: 1;
}
.hero-stat-val {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.3;
  margin-top: 2px;
}
@media (max-width: 640px) {
  .hero-stat-pill { min-width: calc(50% - 0.75rem); flex: 1 1 calc(50% - 0.75rem); }
}

/* ========== SECTION NAVIGATION BAR ========== */
.section-nav {
  background: #fff;
  border-bottom: 1px solid var(--ugg-border);
  position: sticky;
  top: 57px;
  z-index: 30;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.section-nav-inner {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.65rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.section-nav-inner::-webkit-scrollbar { display: none; }
.snav-link {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ugg-muted);
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
}
.snav-link:hover {
  background: #F3F4F6;
  color: var(--ugg-primary);
}
.snav-link.is-active {
  background: var(--ugg-primary);
  color: #fff;
}

/* ========== SECTION CARDS (sc2) ========== */
.sc2 {
  background: #fff;
  border: 1px solid var(--ugg-border);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.sc2-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.75rem 0;
}
.sc2-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.sc2-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ugg-text);
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}
.sc2-blurb {
  color: var(--ugg-muted);
  font-size: 0.88rem;
  margin-top: 0.2rem;
  line-height: 1.5;
}
.sc2-body {
  padding: 1.5rem 1.75rem 1.75rem;
}
.sc2-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ugg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

/* ========== QUICK STATS SIDEBAR (qs-card) ========== */
.qs-card {
  background: #fff;
  border: 1px solid var(--ugg-border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.qs-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ugg-border);
}
.qs-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.qs-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.qs-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.qs-label {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ugg-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}
.qs-value {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ugg-text);
  margin-top: 2px;
  line-height: 1.3;
}

/* ========== CALLOUT CARDS ========== */
.callout {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 0.875rem;
  align-items: flex-start;
}
.callout-warm {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
}
.callout-green {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
}
.callout-blue {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
}
.callout-purple {
  background: #F5F3FF;
  border: 1px solid #DDD6FE;
}
.callout-emoji {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}
.callout-title {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
  color: var(--ugg-text);
}
.callout-text {
  color: #4B5563;
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ========== EDIBLE CHIPS ========== */
.edible-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #D1FAE5;
  color: #065F46;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid #A7F3D0;
}

/* ========== STAT CARDS (germination/harvest) ========== */
.stat-card {
  border-radius: 0.875rem;
  padding: 1.25rem;
  text-align: center;
}
.stat-card-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.stat-card-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}
.stat-green { background: #D1FAE5; color: #065F46; }
.stat-warm  { background: #FEF3C7; color: #92400E; }
.stat-blue  { background: #DBEAFE; color: #1E40AF; }

/* ========== TIMELINE v2 (vertical with connecting line) ========== */
.timeline-v2 {
  position: relative;
  padding-left: 2.75rem;
}
.timeline-v2::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--ugg-accent);
  border-radius: 1px;
}
.tl-step {
  position: relative;
  padding-bottom: 1.25rem;
}
.tl-step:last-child { padding-bottom: 0; }
.tl-num {
  position: absolute;
  left: -2.75rem;
  top: 0.65rem;
  width: 32px;
  height: 32px;
  background: var(--ugg-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  z-index: 1;
  box-shadow: 0 2px 6px rgba(45,106,79,0.3);
}
.tl-text {
  background: var(--ugg-bg);
  border: 1px solid var(--ugg-border);
  border-radius: 0.75rem;
  padding: 0.85rem 1.15rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #374151;
}

/* ========== INFO GRID (planting instructions) ========== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}
.info-tile {
  background: var(--ugg-bg);
  border: 1px solid var(--ugg-border);
  border-radius: 0.875rem;
  padding: 1rem;
  text-align: center;
  transition: border-color 0.2s;
}
.info-tile:hover {
  border-color: var(--ugg-accent);
}
.info-tile-icon {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.info-tile-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ugg-muted);
  margin-bottom: 0.3rem;
}
.info-tile-val {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--ugg-primary);
  line-height: 1.4;
}

/* ========== CARE TILES ========== */
.care-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .care-grid { grid-template-columns: repeat(2, 1fr); }
}
.care-tile {
  border-radius: 0.875rem;
  padding: 1.15rem;
  border: 1px solid transparent;
}
.care-tile-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
  color: inherit;
}
.care-tile-text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #4B5563;
}
.care-sun    { background: #FFFBEB; border-color: #FDE68A; }
.care-water  { background: #EFF6FF; border-color: #BFDBFE; }
.care-fert   { background: #F0FDF4; border-color: #BBF7D0; }
.care-temp   { background: #FFF7ED; border-color: #FED7AA; }
.care-humid  { background: #F0FDFA; border-color: #99F6E4; }
.care-soilm  { background: #FEFCE8; border-color: #FEF08A; }

/* ========== COMPANION CARDS ========== */
.companion-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--ugg-border);
  border-radius: 0.875rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  background: #fff;
}
.companion-card:hover {
  border-color: var(--ugg-primary);
  box-shadow: 0 4px 12px rgba(45,106,79,0.08);
  transform: translateY(-1px);
}
.companion-letter {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ugg-accent), var(--ugg-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.companion-info { flex: 1; min-width: 0; }
.companion-name {
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.companion-filipino {
  font-style: italic;
  color: var(--ugg-muted);
  font-size: 0.78rem;
}
.companion-arrow {
  color: var(--ugg-primary);
  margin-left: auto;
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* ========== PRO TIPS v2 ========== */
.pro-tips-v2 {
  background: linear-gradient(135deg, #1B4332, #2D6A4F);
  color: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.pro-tips-v2-deco {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(82,183,136,0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.pro-tips-badge {
  background: var(--ugg-light);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.12em;
}
.pro-tips-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.88rem;
  line-height: 1.55;
}
.pro-tips-list li:last-child { border-bottom: none; }
.tip-num {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  line-height: 1;
}

/* ========== PREV / NEXT NAV ========== */
.pn-card {
  background: #fff;
  border: 1px solid var(--ugg-border);
  border-radius: 1rem;
  padding: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}
.pn-card:hover {
  border-color: var(--ugg-primary);
  box-shadow: 0 4px 12px rgba(45,106,79,0.1);
}
.pn-right {
  justify-content: flex-end;
  text-align: right;
}
.pn-arrow {
  font-size: 1.75rem;
  color: var(--ugg-primary);
  font-weight: 700;
  line-height: 1;
}
.pn-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ugg-muted);
  letter-spacing: 0.05em;
}
.pn-name {
  font-weight: 700;
  color: var(--ugg-text);
  font-size: 0.95rem;
}

/* ==========================================================================
   ORNAMENTAL PAGES — v2 Reskin
   Overrides style.css classes so /plants/ornamental/ pages match
   the plant-guide profile design (profile-hero-v2, sc2 cards, qs-card, etc.)
   ========================================================================== */

/* --- Reset old header/footer (already replaced in HTML) --- */
.site-header, .site-footer { display: none !important; }

/* --- Page wrapper --- */
.plant-page {
  padding: 0 0 3rem;
  background: var(--ugg-bg);
}

/* --- Breadcrumb --- */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
  font-size: 0.85rem;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0;
  margin: 0;
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: var(--ugg-muted);
  margin-left: 0.4rem;
}
.breadcrumb a {
  color: var(--ugg-muted);
  text-decoration: none;
  font-weight: 500;
}
.breadcrumb a:hover { color: var(--ugg-primary); text-decoration: none; }
.breadcrumb [aria-current="page"] { color: var(--ugg-text); font-weight: 600; }

/* --- Hero (matches profile-hero-v2) --- */
.plant-page__hero {
  background: linear-gradient(135deg, #1B4332 0%, #2D6A4F 40%, #52B788 100%);
  color: #fff;
  padding: 2.5rem 1.5rem 3rem;
  border-radius: 1.25rem;
  max-width: 1280px;
  margin: 1rem auto 0;
  position: relative;
  overflow: hidden;
}
.plant-page__hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.plant-page__hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -8%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(149,213,178,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.plant-page__hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}
.plant-page__hero .plant-page__scientific {
  font-size: 0.85em;
  font-weight: 400;
  opacity: 0.85;
}
.plant-page__tagline,
.plant-page__hero > p {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  opacity: 0.82;
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  color: #fff;
}
.plant-page__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}
.plant-page__pills .pill {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}
.pill--ornamental { background: rgba(255,255,255,0.18) !important; color: #fff !important; }
.pill--category { background: rgba(255,255,255,0.12) !important; color: #fff !important; }
.pill--safe { background: rgba(209,250,229,0.2) !important; color: #fff !important; }
.pill--warning { background: rgba(254,226,226,0.2) !important; color: #fff !important; }
.pill--nasa { background: rgba(219,234,254,0.2) !important; color: #fff !important; }

/* --- TOC → Sticky Section Nav --- */
.toc {
  background: #fff;
  border-bottom: 1px solid var(--ugg-border);
  border-radius: 0;
  padding: 0;
  margin: 0 auto;
  max-width: 100%;
  position: sticky;
  top: 57px;
  z-index: 30;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.toc__title,
.toc h2 {
  display: none;
}
.toc ol {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.65rem 1.5rem;
  margin: 0;
  list-style: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 1280px;
  margin: 0 auto;
}
.toc ol::-webkit-scrollbar { display: none; }
.toc li {
  margin: 0;
  flex-shrink: 0;
}
.toc li::after { display: none !important; content: none !important; }
.toc a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ugg-muted);
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
}
.toc a:hover {
  background: #F3F4F6;
  color: var(--ugg-primary);
  text-decoration: none;
}

/* --- Two-column layout --- */
.plant-page__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
  align-items: start;
}
@media (max-width: 900px) {
  .plant-page__layout {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem 0;
  }
}

/* --- Content sections → sc2 cards --- */
.plant-page__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.plant-page__content > section,
.plant-page__content > .plant-cta {
  background: #fff;
  border: 1px solid var(--ugg-border);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 0;
}
.plant-page__content > section > h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1.75rem 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ugg-text);
  border-bottom: none;
  margin-bottom: 0;
  line-height: 1.3;
}
.plant-page__content > section > h2::before {
  content: '';
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #D1FAE5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Icon backgrounds per section */
section#about > h2::before { background: #D1FAE5; content: '🌿'; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
section#history > h2::before { background: #FEF3C7; content: '📜'; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
section#how-to-plant > h2::before { background: #DBEAFE; content: '🌱'; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
section#care > h2::before { background: #FCE7F3; content: '💚'; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
section#growing-medium > h2::before { background: #FED7AA; content: '🪴'; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
section#ornamental-uses > h2::before { background: #E0E7FF; content: '🏡'; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
section#air-quality > h2::before { background: #D1FAE5; content: '🌬️'; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
section#toxicity > h2::before { background: #FEE2E2; content: '⚠️'; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
section#pests > h2::before { background: #FEF3C7; content: '🐛'; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
section#faq > h2::before { background: #DDD6FE; content: '❓'; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
section#sources > h2::before { background: #E0E7FF; content: '📚'; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }

/* Section body content */
.plant-page__content > section > *:not(h2) {
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}
.plant-page__content > section > *:last-child {
  padding-bottom: 1.75rem;
}
.plant-page__content > section > h2 + * {
  padding-top: 1.25rem;
}
.plant-page__content > section > p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 0.85rem;
}
.plant-page__content > section > h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ugg-primary);
  margin: 1.25rem 0 0.6rem;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}
.plant-page__content > section > ul,
.plant-page__content > section > ol {
  padding-left: 3.25rem;
  padding-right: 1.75rem;
  margin-bottom: 0.85rem;
}
.plant-page__content > section > ul li,
.plant-page__content > section > ol li {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 0.5rem;
}
.plant-page__content > section > ol.plant-steps {
  counter-reset: step;
  list-style: none;
  padding-left: 1.75rem;
  position: relative;
}
.plant-page__content > section > ol.plant-steps::before {
  content: '';
  position: absolute;
  left: 2.7rem;
  top: 1rem;
  bottom: 1rem;
  width: 2px;
  background: var(--ugg-accent);
}
.plant-page__content > section > ol.plant-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 1rem;
}
.plant-page__content > section > ol.plant-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 30px;
  height: 30px;
  background: var(--ugg-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 2px 6px rgba(45,106,79,0.3);
  z-index: 1;
}

/* --- Growing Medium Cards --- */
.medium-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-left: 1.75rem !important;
  padding-right: 1.75rem !important;
}
@media (max-width: 640px) { .medium-cards { grid-template-columns: 1fr; } }
.medium-card {
  border-radius: 0.875rem;
  padding: 1.15rem;
  text-align: center;
  border: 1px solid transparent;
}
.medium-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  padding: 0 !important;
}
.medium-card p { font-size: 0.85rem; line-height: 1.55; margin: 0; }
.medium-card__badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.medium-card--yes {
  background: #D1FAE5;
  border-color: #A7F3D0;
}
.medium-card--yes .medium-card__badge { background: var(--ugg-primary); color: #fff; }
.medium-card--yes h3 { color: #065F46; }
.medium-card--yes p { color: #065F46; font-weight: 500; }
.medium-card--no,
.medium-card--caution {
  background: #F3F4F6;
  border-color: var(--ugg-border);
}
.medium-card--no .medium-card__badge,
.medium-card--caution .medium-card__badge { background: var(--ugg-muted); color: #fff; }
.medium-card--no h3,
.medium-card--caution h3 { color: var(--ugg-muted); }
.medium-card--no p,
.medium-card--caution p { color: var(--ugg-muted); text-decoration: none; font-weight: 400; }

/* --- Quick Facts → qs-card sidebar --- */
.quick-facts {
  background: #fff;
  border: 1px solid var(--ugg-border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  position: sticky;
  top: 120px;
  align-self: start;
}
.quick-facts h2,
.quick-facts__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ugg-border);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ugg-text);
}
.quick-facts h2::before {
  content: '⚡';
  font-size: 1.1rem;
}
.quick-facts dl {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.quick-facts dt {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ugg-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0;
  line-height: 1;
}
.quick-facts dd {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ugg-text);
  margin: 0.15rem 0 0;
  line-height: 1.35;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--ugg-border);
}
.quick-facts dd:last-of-type { border-bottom: none; padding-bottom: 0; }
.quick-facts__mediums {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ugg-border);
}
.quick-facts__mediums h3 {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ugg-muted);
  margin-bottom: 0.6rem;
}
.quick-facts__mediums ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}
.quick-facts__mediums li {
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  margin: 0;
}
.medium--yes {
  background: #D1FAE5;
  color: #065F46;
}
.medium--no {
  background: #F3F4F6;
  color: var(--ugg-muted);
  text-decoration: line-through;
}

/* --- FAQ → Accordion --- */
.plant-page__content > section#faq details,
details {
  border: 1px solid var(--ugg-border);
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: #fff;
}
.plant-page__content > section#faq details summary,
details summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  background: #fff;
  transition: background 0.15s ease;
  color: var(--ugg-text);
}
details summary:hover { background: var(--ugg-bg); }
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '▾';
  font-size: 1rem;
  color: var(--ugg-muted);
  transition: transform 0.25s ease;
}
details[open] summary::after {
  content: '▾';
  transform: rotate(180deg);
}
details[open] summary {
  border-bottom: 1px solid var(--ugg-border);
  background: #fff;
}
details .faq-answer,
details > p {
  padding: 1rem 1.25rem 1.25rem;
  background: var(--ugg-bg);
  font-size: 0.92rem;
  line-height: 1.7;
  color: #374151;
  margin: 0;
}

/* --- Plant CTA → pro-tips-v2 style --- */
.plant-cta {
  background: linear-gradient(135deg, #1B4332, #2D6A4F) !important;
  color: #fff;
  padding: 2rem 1.75rem !important;
  border-radius: 1.25rem;
  text-align: center;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.plant-cta::before {
  content: '🌱';
  position: absolute;
  font-size: 8rem;
  opacity: 0.06;
  right: -1rem;
  top: -1rem;
  pointer-events: none;
}
.plant-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  margin: 0;
  position: relative;
  z-index: 1;
}
.plant-cta strong { color: #fff; }

/* --- Sources list --- */
section#sources .sources-list,
.sources-list {
  list-style: none;
  padding: 0 !important;
  margin: 0;
}
section#sources .sources-list li,
.sources-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--ugg-border);
  font-size: 0.85rem;
  color: #4B5563;
  line-height: 1.55;
}
.sources-list li:last-child { border-bottom: none; }
.sources-note {
  font-size: 0.8rem;
  color: var(--ugg-muted);
  margin-top: 0.75rem;
}

/* --- Ornamental interior lists --- */
.plant-page__content section ul:not(.sources-list):not(.voc-list) {
  list-style: none;
  padding-left: 1.75rem !important;
  padding-right: 1.75rem !important;
}
.plant-page__content section ul:not(.sources-list):not(.voc-list) > li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}
.plant-page__content section ul:not(.sources-list):not(.voc-list) > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ugg-primary);
}
.plant-page__content section ul:not(.sources-list):not(.voc-list) > li strong {
  color: var(--ugg-text);
}

/* --- Mobile responsive --- */
@media (max-width: 900px) {
  .quick-facts {
    position: static;
    order: -1;
  }
  .plant-page__hero {
    border-radius: 0;
    margin: 0 auto;
    padding: 2rem 1.25rem 2.5rem;
  }
  .toc ol {
    padding: 0.65rem 1rem;
  }
}
