/* PlantLab MASTER public stylesheet
   Base: V3 homepage design
   + readability pass
   + V4 plant page
   + wide-logo navigation fix
*/

:root{
  --bg:#f5f6f3;
  --card:#ffffff;
  --ink:#111614;
  --muted:#747d77;
  --muted-2:#949b96;
  --line:#e4e8e3;
  --line-dark:#d9dfd9;

  --green:#79cf57;
  --green-deep:#3f873c;
  --green-soft:#eaf7e5;
  --green-softer:#f2f8ef;
  --lime:#d8ff66;

  --dark:#142219;
  --dark-2:#1c2e22;
  --dark-3:#243b2b;

  --shadow:0 18px 48px rgba(31,47,36,.07);
  --shadow-small:0 9px 26px rgba(31,47,36,.06);

  --radius-sm:14px;
  --radius:20px;
  --radius-lg:30px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:Manrope,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
button{cursor:pointer}

.shell{
  width:min(1180px,calc(100% - 32px));
  margin:auto;
}

/* Header */

.site-header{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(255,255,255,.9);
  border-bottom:1px solid rgba(228,232,227,.9);
  backdrop-filter:blur(18px);
}

.nav{
  height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:max-content;
}

.brand img{
  width:38px;
  height:38px;
  object-fit:contain;
  border-radius:10px;
}

.brand-copy strong{
  display:block;
  font-size:14px;
  line-height:1;
  letter-spacing:-.01em;
}

.brand-copy span{
  display:block;
  color:var(--muted);
  font-size:8px;
  font-weight:600;
  margin-top:4px;
}

.desktop-nav{
  display:flex;
  align-items:center;
  gap:28px;
  margin-left:auto;
}

.desktop-nav a{
  font-size:10px;
  font-weight:800;
  color:#5c665f;
  transition:.18s;
}

.desktop-nav a:hover{color:var(--green-deep)}

.nav-right{
  display:flex;
  align-items:center;
  gap:12px;
}

.built-by{
  display:flex;
  align-items:center;
  gap:6px;
  border-left:1px solid var(--line);
  padding-left:18px;
}

.built-by span{
  font-size:6px;
  font-weight:800;
  letter-spacing:.12em;
  color:#9aa09b;
}

.built-by img{
  width:20px;
  height:20px;
  object-fit:contain;
}

.built-by strong{
  font-size:9px;
  color:#56605a;
}

.menu-btn{
  display:none;
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  padding:8px 12px;
  font-size:9px;
  font-weight:800;
}

/* Shared typography */

.eyebrow{
  display:inline-block;
  font-size:8px;
  font-weight:800;
  letter-spacing:.14em;
  color:var(--green-deep);
}

.eyebrow.light{color:#b9dcb0}

.hero h1,
.section-title h2,
.quick-search h2,
.data-copy h2,
.resources-copy h2{
  font-family:"DM Serif Display",Georgia,serif;
  font-weight:400;
  letter-spacing:-.038em;
}

.primary-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  background:var(--dark);
  color:#fff;
  border-radius:13px;
  font-size:9px;
  font-weight:800;
  transition:.18s;
}

.primary-btn:hover{
  transform:translateY(-1px);
  background:#1d3324;
}

.text-link{
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:9px;
  font-weight:800;
  color:var(--green-deep);
}

.text-link span{transition:.18s}
.text-link:hover span{transform:translateX(3px)}

/* Hero */

.hero{
  padding:64px 0 44px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.03fr .82fr;
  gap:50px;
  align-items:center;
}

.hero h1{
  font-size:clamp(48px,6.1vw,78px);
  line-height:.95;
  margin:10px 0 19px;
  max-width:770px;
}

.hero-lede{
  font-size:13px;
  line-height:1.78;
  color:var(--muted);
  max-width:680px;
  margin:0;
}

.hero-links{
  display:flex;
  align-items:center;
  gap:18px;
  margin-top:25px;
}

.hero-meta{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  margin-top:21px;
  color:#8a928c;
  font-size:8px;
}

.hero-meta b{
  color:#59625d;
  font-weight:800;
}

.hero-visual{
  min-height:390px;
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:34px;
  background:
    radial-gradient(circle at 72% 20%,rgba(216,255,102,.28),transparent 32%),
    linear-gradient(145deg,#ecf5e6,#f9fbf7 56%,#e8f0e4);
}

.hero-visual:after{
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid rgba(255,255,255,.8);
  border-radius:25px;
  pointer-events:none;
}

.hero-glow{
  position:absolute;
  border-radius:50%;
  filter:blur(1px);
}

.hero-glow-a{
  width:280px;
  height:280px;
  background:#dfff80;
  right:-75px;
  bottom:-95px;
  opacity:.55;
}

.hero-glow-b{
  width:230px;
  height:230px;
  background:#d8ead1;
  left:-75px;
  top:-70px;
  opacity:.8;
}

.plantlab-mark{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  z-index:2;
}

.plantlab-mark img{
  width:min(190px,43%);
  filter:drop-shadow(0 16px 22px rgba(47,79,49,.12));
}

.floating-note{
  position:absolute;
  z-index:4;
  background:rgba(255,255,255,.93);
  border:1px solid rgba(228,232,227,.95);
  border-radius:15px;
  padding:10px 12px;
  box-shadow:var(--shadow-small);
}

.floating-note small{
  display:block;
  color:#939a94;
  font-size:6px;
  font-weight:800;
  letter-spacing:.12em;
  margin-bottom:3px;
}

.floating-note strong{
  display:block;
  font-size:9px;
}

.note-a{left:18px;bottom:27px}
.note-b{right:18px;top:25px}
.note-c{right:24px;bottom:77px}

.visual-caption{
  position:absolute;
  left:30px;
  top:30px;
  z-index:3;
}

.visual-caption span{
  font-size:7px;
  font-weight:800;
  letter-spacing:.13em;
  color:#668260;
}

.visual-caption p{
  margin:4px 0 0;
  font-size:8px;
  color:#81907f;
}

/* Search */

.quick-search-section{
  padding:20px 0 24px;
}

.quick-search{
  background:var(--dark);
  color:#fff;
  border-radius:28px;
  padding:25px 27px;
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  gap:34px;
  align-items:center;
}

.quick-search h2{
  font-size:31px;
  margin:5px 0 4px;
}

.quick-search p{
  margin:0;
  font-size:9px;
  color:#a7b5ab;
}

.search-ui{
  position:relative;
}

.search-input-wrap{
  min-height:50px;
  background:#fff;
  border-radius:14px;
  padding:0 9px 0 14px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:9px;
  align-items:center;
  color:#7b847e;
}

.search-glyph{font-size:15px}

.search-input-wrap input{
  width:100%;
  border:0;
  outline:none;
  background:transparent;
  padding:14px 0;
  font-size:10px;
  color:#263028;
}

.search-input-wrap button{
  border:0;
  background:#edf4e9;
  color:var(--green-deep);
  font-size:8px;
  font-weight:800;
  border-radius:9px;
  padding:9px 11px;
}

.search-results{
  position:absolute;
  left:0;
  right:0;
  top:58px;
  z-index:20;
  display:grid;
  gap:4px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:13px;
  padding:6px;
  box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.search-results[hidden]{display:none}

.search-hit{
  padding:9px 10px;
  border-radius:9px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}

.search-hit:hover{
  background:#f2f6ef;
}

.search-hit strong{
  display:block;
  color:#202821;
  font-size:9px;
}

.search-hit span{
  display:block;
  color:#8a938c;
  font-size:7px;
  margin-top:2px;
}

.search-hit b{
  color:var(--green-deep);
  font-size:11px;
}

/* Section title */

.section-title{
  margin-bottom:20px;
}

.section-title h2{
  font-size:38px;
  line-height:1.03;
  margin:5px 0 6px;
}

.section-title p{
  margin:0;
  color:var(--muted);
  font-size:10px;
}

.row-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
}

.all-link{
  font-size:8px;
  font-weight:800;
  color:var(--green-deep);
  padding-bottom:5px;
}

/* Paths */

.path-section{
  padding:50px 0 64px;
}

.path-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:11px;
}

.path-card{
  min-height:290px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:16px;
  display:flex;
  flex-direction:column;
  transition:.18s;
}

.path-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}

.path-primary{
  background:linear-gradient(145deg,#e9f7e4,#f8fbf6);
  border-color:#d9ecd3;
}

.path-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.path-number{
  font-size:7px;
  color:#a1a8a2;
  font-weight:800;
}

.path-chip{
  font-size:6px;
  font-weight:800;
  letter-spacing:.1em;
  color:var(--green-deep);
}

.path-icon{
  width:50px;
  height:50px;
  border-radius:15px;
  display:grid;
  place-items:center;
  background:#eef5eb;
  color:var(--green-deep);
  font-size:21px;
  margin:28px 0 16px;
}

.path-primary .path-icon{background:#d8f2ce}

.path-card h3{
  font-size:16px;
  margin:0 0 7px;
}

.path-card p{
  color:#6d766f;
  font-size:9px;
  line-height:1.58;
  margin:0;
}

.card-action{
  display:block;
  margin-top:auto;
  padding-top:18px;
  color:var(--green-deep);
  font-size:8px;
  font-weight:800;
}

/* Collections */

.collections-section{
  padding:34px 0 66px;
}

.collection-scroll{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:11px;
}

.collection-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:11px;
  transition:.18s;
}

.collection-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-small);
}

.collection-visual{
  height:145px;
  border-radius:15px;
  background:
    radial-gradient(circle at 75% 22%,rgba(216,255,102,.42),transparent 28%),
    linear-gradient(145deg,#e8f2e3,#d8e8d1);
  position:relative;
  overflow:hidden;
  margin-bottom:12px;
}

.collection-symbol{
  position:absolute;
  left:18px;
  bottom:13px;
  font-family:"DM Serif Display",serif;
  font-size:62px;
  color:#5f9c52;
  opacity:.78;
}

.collection-count{
  position:absolute;
  right:13px;
  top:12px;
  font-size:6px;
  font-weight:800;
  letter-spacing:.1em;
  color:#65825f;
}

.collection-tag{
  font-size:6px;
  font-weight:800;
  letter-spacing:.11em;
  color:var(--green-deep);
}

.collection-card h3{
  font-size:13px;
  margin:5px 0;
}

.collection-card p{
  margin:0;
  color:var(--muted);
  font-size:8px;
  line-height:1.5;
}

/* Plant library */

.library-preview{
  padding:30px 0 70px;
}

.plant-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:11px;
}

.plant-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  transition:.18s;
}

.plant-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-small);
}

.plant-art{
  height:160px;
  background:
    radial-gradient(circle at 70% 20%,rgba(216,255,102,.28),transparent 28%),
    linear-gradient(145deg,#f2f6ef,#e3ecde);
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
}

.plant-art.has-image{
  background:#eef2eb;
}

.plant-art img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.plant-placeholder{
  text-align:center;
}

.plant-placeholder span{
  display:block;
  font-family:"DM Serif Display",serif;
  font-size:44px;
  color:#69a858;
}

.plant-placeholder small{
  display:block;
  font-size:6px;
  letter-spacing:.12em;
  font-weight:800;
  color:#899586;
  text-transform:uppercase;
}

.difficulty-badge{
  position:absolute;
  left:9px;
  top:9px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(223,228,220,.95);
  border-radius:999px;
  padding:5px 7px;
  font-size:6px;
  font-weight:800;
  color:#536057;
}

.plant-info{
  padding:12px;
}

.plant-info h3{
  font-size:12px;
  margin:0;
}

.plant-info em{
  display:block;
  color:var(--muted);
  font-size:7px;
  margin:3px 0 9px;
}

.plant-meta{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}

.plant-meta span{
  border-radius:999px;
  background:#f4f6f3;
  padding:5px 6px;
  color:#69726c;
  font-size:6px;
}

.plant-link{
  display:block;
  margin-top:10px;
  color:var(--green-deep);
  font-size:7px;
  font-weight:800;
}

.empty-library{
  padding:35px;
  border:1px dashed #d6ddd4;
  border-radius:20px;
  background:#f9fbf8;
}

.empty-library strong{font-size:14px}
.empty-library p{font-size:10px;color:var(--muted)}

/* Data */

.data-section{
  padding:66px 0;
  background:#edf1e9;
}

.data-grid{
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:60px;
  align-items:start;
}

.data-copy h2{
  font-size:40px;
  line-height:1.03;
  margin:6px 0 12px;
}

.data-copy p{
  margin:0;
  max-width:470px;
  color:var(--muted);
  font-size:10px;
  line-height:1.72;
}

.data-points{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid #d8ded5;
  border-left:1px solid #d8ded5;
}

.data-points div{
  min-height:105px;
  padding:15px;
  border-right:1px solid #d8ded5;
  border-bottom:1px solid #d8ded5;
}

.data-points span{
  display:block;
  font-size:6px;
  font-weight:800;
  color:#94a090;
  margin-bottom:14px;
}

.data-points strong{
  display:block;
  font-size:10px;
}

.data-points small{
  display:block;
  margin-top:4px;
  color:#7c867e;
  font-size:7px;
}

/* Resources */

.resources-section{
  padding:68px 0;
}

.resources-grid{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:52px;
}

.resources-copy h2{
  font-size:40px;
  line-height:1.03;
  margin:6px 0 12px;
}

.resources-copy p{
  margin:0 0 10px;
  color:var(--muted);
  font-size:10px;
  line-height:1.72;
}

.resources-copy .disclosure{
  font-size:7px;
  color:#959c97;
}

.resource-list{
  display:grid;
  gap:8px;
}

.resource-list a{
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px;
  padding:11px;
  display:grid;
  grid-template-columns:39px 1fr auto;
  gap:11px;
  align-items:center;
  transition:.18s;
}

.resource-list a:hover{
  transform:translateX(2px);
  border-color:#ccdfc5;
}

.resource-icon{
  width:39px;
  height:39px;
  border-radius:11px;
  background:var(--green-soft);
  color:var(--green-deep);
  display:grid;
  place-items:center;
  font-size:14px;
}

.resource-list strong{
  display:block;
  font-size:9px;
}

.resource-list small{
  display:block;
  color:var(--muted);
  font-size:7px;
  margin-top:3px;
}

.resource-list b{
  color:var(--green-deep);
  font-size:11px;
}

/* Brand architecture */

.brand-story{
  padding:58px 0;
  background:var(--dark);
  color:#fff;
}

.brand-story-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:50px;
  align-items:center;
}

.brand-lockup{
  display:flex;
  align-items:center;
  gap:16px;
}

.plantlab-logo-large{
  width:78px;
  height:78px;
  object-fit:contain;
  border-radius:20px;
  background:#fff;
  padding:8px;
}

.brand-lockup span{
  display:block;
  font-size:7px;
  font-weight:800;
  letter-spacing:.14em;
  color:#a6c79d;
}

.brand-lockup strong{
  display:block;
  max-width:310px;
  margin-top:5px;
  font-family:"DM Serif Display",serif;
  font-weight:400;
  font-size:25px;
  line-height:1.04;
}

.brand-relations{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-left:1px solid rgba(255,255,255,.12);
}

.brand-relation{
  min-height:140px;
  padding:8px 22px;
  display:grid;
  grid-template-columns:43px 1fr;
  gap:12px;
  align-content:center;
}

.brand-relation + .brand-relation{
  border-left:1px solid rgba(255,255,255,.12);
}

.brand-relation img{
  width:43px;
  height:43px;
  object-fit:contain;
  border-radius:11px;
}

.brand-relation small{
  display:block;
  font-size:6px;
  font-weight:800;
  letter-spacing:.13em;
  color:#94aa99;
}

.brand-relation strong{
  display:block;
  font-size:11px;
  margin-top:3px;
}

.brand-relation p{
  margin:6px 0 0;
  color:#95a79a;
  font-size:7px;
  line-height:1.5;
}

/* Footer */

footer{
  background:#fff;
  padding:25px 0;
}

.footer-main{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:30px;
}

.footer-identity{
  display:flex;
  align-items:center;
  gap:9px;
}

.footer-identity img{
  width:34px;
  height:34px;
  object-fit:contain;
}

.footer-identity strong{
  display:block;
  font-size:10px;
}

.footer-identity span{
  display:block;
  margin-top:2px;
  font-size:7px;
  color:var(--muted);
}

.footer-links{
  display:flex;
  justify-content:center;
  gap:19px;
}

.footer-links a{
  font-size:7px;
  color:#737d76;
  font-weight:700;
}

.footer-owner{
  font-size:7px;
  color:#909892;
}

/* Mobile nav */

.mobile-menu{
  position:fixed;
  inset:0;
  z-index:70;
  opacity:0;
  pointer-events:none;
  transition:.2s;
}

.mobile-menu.open{
  opacity:1;
  pointer-events:auto;
}

.menu-backdrop{
  position:absolute;
  inset:0;
  background:rgba(20,30,23,.38);
}

.menu-sheet{
  position:absolute;
  right:0;
  top:0;
  width:min(310px,84%);
  height:100%;
  background:#fff;
  padding:68px 21px 22px;
  transform:translateX(100%);
  transition:.25s;
  display:flex;
  flex-direction:column;
  gap:18px;
}

.mobile-menu.open .menu-sheet{
  transform:translateX(0);
}

.menu-sheet > button{
  position:absolute;
  right:18px;
  top:18px;
  width:35px;
  height:35px;
  border:0;
  border-radius:50%;
  background:#eff2ee;
  font-size:19px;
}

.menu-sheet > a{
  font-size:13px;
  font-weight:800;
}

.menu-brand{
  display:flex;
  align-items:center;
  gap:9px;
  padding-bottom:14px;
  border-bottom:1px solid var(--line);
}

.menu-brand img{
  width:34px;
  height:34px;
}

.menu-brand strong{
  font-size:13px;
}

.menu-built-by{
  margin-top:auto;
  border-top:1px solid var(--line);
  padding-top:15px;
  display:flex;
  align-items:center;
  gap:8px;
}

.menu-built-by img{
  width:28px;
  height:28px;
  object-fit:contain;
}

.menu-built-by span{
  font-size:8px;
  color:#78817b;
  font-weight:700;
}

/* Responsive */

@media(max-width:1020px){
  .desktop-nav{gap:18px}
  .path-grid{grid-template-columns:1fr 1fr}
  .plant-grid{grid-template-columns:repeat(2,1fr)}
  .collection-scroll{grid-template-columns:repeat(2,1fr)}
  .brand-story-grid{grid-template-columns:1fr}
}

@media(max-width:820px){
  .desktop-nav,.built-by{display:none}
  .menu-btn{display:block}

  .hero{padding:40px 0 30px}
  .hero-grid{grid-template-columns:1fr;gap:28px}
  .hero-visual{min-height:300px}

  .quick-search{grid-template-columns:1fr;gap:17px}

  .data-grid,.resources-grid{grid-template-columns:1fr;gap:30px}

  .footer-main{grid-template-columns:1fr;align-items:flex-start}
  .footer-links{justify-content:flex-start;flex-wrap:wrap}
}

@media(max-width:640px){
  .shell{width:min(100% - 24px,1180px)}

  .nav{height:63px}
  .brand img{width:34px;height:34px}
  .brand-copy strong{font-size:13px}

  .hero h1{
    font-size:46px;
    line-height:.96;
  }

  .hero-lede{
    font-size:11px;
    line-height:1.68;
  }

  .hero-links{
    align-items:flex-start;
    flex-direction:column;
    gap:11px;
  }

  .hero-meta{
    gap:11px;
    font-size:7px;
  }

  .hero-visual{
    min-height:250px;
    border-radius:25px;
  }

  .plantlab-mark img{width:130px}

  .floating-note{
    padding:8px 9px;
    border-radius:12px;
  }

  .note-a{left:12px;bottom:15px}
  .note-b{right:12px;top:16px}
  .note-c{right:12px;bottom:58px}

  .visual-caption{left:20px;top:20px}

  .quick-search{
    padding:19px;
    border-radius:22px;
  }

  .quick-search h2{font-size:29px}

  .search-input-wrap{
    grid-template-columns:auto 1fr;
    padding-right:12px;
  }

  .search-input-wrap button{display:none}

  .path-section{padding:37px 0 52px}
  .path-grid{grid-template-columns:1fr}

  .path-card{
    min-height:auto;
    padding:15px;
  }

  .path-icon{
    margin:20px 0 13px;
  }

  .section-title h2{
    font-size:32px;
  }

  .row-title{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
  }

  .collection-scroll{
    display:flex;
    overflow-x:auto;
    gap:9px;
    padding-bottom:5px;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
  }

  .collection-scroll::-webkit-scrollbar{display:none}

  .collection-card{
    min-width:225px;
    scroll-snap-align:start;
  }

  .collection-visual{height:130px}

  .plant-grid{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .plant-art{height:120px}
  .plant-info{padding:9px}
  .plant-info h3{font-size:10px}
  .plant-meta span:nth-child(3){display:none}

  .data-section,.resources-section{padding:50px 0}

  .data-copy h2,.resources-copy h2{font-size:34px}

  .data-points{grid-template-columns:1fr}

  .brand-story{padding:44px 0}
  .brand-lockup{align-items:flex-start}
  .plantlab-logo-large{width:60px;height:60px}
  .brand-lockup strong{font-size:22px}

  .brand-relations{
    grid-template-columns:1fr;
    border-left:0;
    border-top:1px solid rgba(255,255,255,.12);
  }

  .brand-relation{
    padding:18px 0;
  }

  .brand-relation + .brand-relation{
    border-left:0;
    border-top:1px solid rgba(255,255,255,.12);
  }
}

@media(max-width:390px){
  .hero h1{font-size:42px}
  .plant-grid{grid-template-columns:1fr}
  .plant-art{height:170px}
}



/* =========================================================
   V3 HOMEPAGE — READABILITY PASS
   Keeps the V3 layout/design, only increases tiny type.
   ========================================================= */

body{font-size:16px}

.eyebrow{font-size:10px}
.primary-btn{font-size:13px}
.text-link{font-size:13px}

.brand-copy strong{font-size:16px}
.brand-copy span{font-size:11px}
.desktop-nav a{font-size:13px}
.built-by span{font-size:8px}
.built-by strong{font-size:11px}
.menu-btn{font-size:12px}

.hero-lede{font-size:16px;line-height:1.72}
.hero-meta{font-size:12px}

.quick-search p{font-size:13px}
.search-input-wrap input{font-size:14px}
.search-input-wrap button{font-size:12px}
.search-hit strong{font-size:13px}
.search-hit span{font-size:11px}

.section-title p{font-size:14px;line-height:1.55}
.all-link{font-size:12px}

.path-chip{font-size:9px}
.path-number{font-size:9px}
.path-card h3{font-size:19px}
.path-card p{font-size:14px;line-height:1.6}
.card-action{font-size:12px}

.collection-tag{font-size:9px}
.collection-count{font-size:9px}
.collection-card h3{font-size:17px}
.collection-card p{font-size:13px;line-height:1.55}

.plant-info h3{font-size:16px}
.plant-info em{font-size:12px}
.plant-meta span{font-size:10px}
.plant-link{font-size:11px}
.difficulty-badge{font-size:9px}

.data-copy p{font-size:14px;line-height:1.68}
.data-points span{font-size:9px}
.data-points strong{font-size:14px}
.data-points small{font-size:11px;line-height:1.45}

.resources-copy p{font-size:14px;line-height:1.68}
.resources-copy .disclosure{font-size:11px}
.resource-list strong{font-size:14px}
.resource-list small{font-size:11px;line-height:1.4}

.brand-lockup span{font-size:9px}
.brand-relation small{font-size:9px}
.brand-relation strong{font-size:14px}
.brand-relation p{font-size:11px;line-height:1.5}

.footer-identity strong{font-size:13px}
.footer-identity span{font-size:10px}
.footer-links a{font-size:11px}
.footer-owner{font-size:10px}

.menu-sheet>a{font-size:16px}
.menu-built-by span{font-size:11px}

@media(max-width:640px){
  .hero-lede{font-size:15px}
  .hero-meta{font-size:11px}
  .path-card p{font-size:13px}
  .collection-card p{font-size:12px}
  .data-copy p,.resources-copy p{font-size:13px}
}


/* =========================================================
   PLANT PAGE — V4 DESIGN
   ========================================================= */

.plant-page{padding-bottom:0}
.plant-hero-section{padding:26px 0 0}
.breadcrumbs{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:14px;color:#7a847d;font-size:12px}
.breadcrumbs a:hover{color:var(--green-deep)}
.breadcrumbs strong{color:#4c5650;font-weight:700}

.plant-gallery{
  position:relative;height:clamp(420px,58vw,650px);overflow:hidden;border-radius:30px;
  background:#dfe8db;border:1px solid var(--line);box-shadow:var(--shadow-small)
}
.gallery-track,.gallery-slide{position:absolute;inset:0}
.gallery-slide{opacity:0;transition:opacity .35s ease;margin:0}
.gallery-slide.active{opacity:1}
.gallery-slide img{width:100%;height:100%;object-fit:cover}
.gallery-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,#e8f3e3,#d7e8d1)}
.gallery-placeholder img{width:150px;height:150px;object-fit:contain;opacity:.72}
.gallery-shade{position:absolute;inset:0;background:linear-gradient(to bottom,transparent 48%,rgba(9,19,12,.18) 65%,rgba(9,19,12,.78) 100%);pointer-events:none}
.gallery-title{position:absolute;left:34px;right:120px;bottom:32px;color:#fff;z-index:4;text-shadow:0 2px 18px rgba(0,0,0,.22)}
.gallery-kicker{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#d8ead4;margin-bottom:6px}
.gallery-title h1{font-family:"DM Serif Display",serif;font-size:clamp(42px,6vw,68px);line-height:.96;font-weight:400;letter-spacing:-.035em;margin:0 0 6px}
.gallery-title em{font-size:16px;color:#e8efe9}

.gallery-arrow{
  position:absolute;top:50%;z-index:5;transform:translateY(-50%);width:44px;height:44px;border:1px solid rgba(255,255,255,.5);
  background:rgba(16,31,20,.28);backdrop-filter:blur(8px);color:#fff;border-radius:50%;font-size:28px;display:grid;place-items:center
}
.gallery-prev{left:18px}
.gallery-next{right:18px}
.gallery-dots{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);display:flex;gap:6px;z-index:6}
.gallery-dots button{width:7px;height:7px;border-radius:50%;border:0;background:rgba(255,255,255,.45);padding:0}
.gallery-dots button.active{background:#fff;width:20px;border-radius:99px}
.gallery-count{position:absolute;right:24px;bottom:24px;z-index:5;color:#fff;font-size:12px;font-weight:700;background:rgba(8,20,12,.32);padding:7px 9px;border-radius:999px;backdrop-filter:blur(7px)}

.plant-overview-section{padding:20px 0 60px}
.plant-overview-grid{display:grid;grid-template-columns:1fr;gap:14px}
.care-highlights{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.care-highlight{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;min-height:155px}
.care-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--green-soft);color:var(--green-deep);font-size:15px;margin-bottom:14px}
.care-highlight small{display:block;font-size:10px;font-weight:800;letter-spacing:.1em;color:#8b948e}
.care-highlight strong{display:block;font-size:19px;margin-top:4px}
.care-highlight p{font-size:12px;line-height:1.5;color:var(--muted);margin:7px 0 0}

.plant-intro-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px}
.plant-intro-card h2,.long-card h2{
  font-family:"DM Serif Display",serif;font-weight:400;font-size:36px;letter-spacing:-.03em;margin:6px 0 12px
}
.intro-lede{font-size:18px;line-height:1.58;color:#37413a;margin:0 0 14px;font-weight:500;max-width:900px}
.rich-copy{font-size:15px;line-height:1.78;color:#68726c;max-width:930px}
.plant-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px}
.plant-tags span{font-size:11px;font-weight:700;color:#506058;background:#f1f6ef;border-radius:999px;padding:7px 9px}

.care-detail-section{padding:56px 0;background:#edf1e9}
.care-section-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.detail-card{background:#fff;border:1px solid #dde3dc;border-radius:20px;padding:20px}
.detail-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.detail-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--green-soft);color:var(--green-deep);font-size:17px}
.detail-heading small{display:block;font-size:10px;letter-spacing:.1em;font-weight:800;color:#8b948e}
.detail-heading h3{font-size:19px;margin:2px 0 0}
.detail-rows{border-top:1px solid var(--line)}
.detail-rows>div{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}
.detail-rows span{font-size:13px;color:#707a73}
.detail-rows strong{font-size:13px;text-align:right}

.plant-notes-section{padding:64px 0}
.plant-notes-grid{display:grid;grid-template-columns:1.55fr .7fr;gap:20px;align-items:start}
.notes-main{display:grid;gap:12px}
.long-card,.origin-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px}
.long-card h3{font-size:16px;margin:20px 0 6px}
.long-card p{font-size:15px;line-height:1.75;color:var(--muted);margin:10px 0 0}
.inline-note,.warning-note{font-size:13px;line-height:1.55;padding:11px 12px;border-radius:11px;background:#f4f7f2;margin:8px 0;color:#536059}
.warning-note{background:#fff3d8;color:#66551e}
.origin-card{position:sticky;top:94px}
.origin-card h3{font-family:"DM Serif Display",serif;font-size:28px;font-weight:400;letter-spacing:-.025em;margin:6px 0 16px}
.origin-card>div{display:grid;gap:3px;padding:11px 0;border-bottom:1px solid var(--line)}
.origin-card>div span{font-size:10px;font-weight:800;letter-spacing:.08em;color:#929a94;text-transform:uppercase}
.origin-card>div strong{font-size:13px}
.origin-card p{font-size:13px;line-height:1.65;color:var(--muted);margin:16px 0 0}

.similar-section{padding:62px 0 72px;background:#f0f3ed}
.similar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.similar-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.18s}
.similar-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-small)}
.similar-image{height:165px;background:linear-gradient(145deg,#edf4e8,#dbe9d5);display:grid;place-items:center;overflow:hidden}
.similar-image img{width:100%;height:100%;object-fit:cover}
.similar-image .similar-placeholder-logo{width:80px;height:80px;object-fit:contain;opacity:.65}
.similar-copy{padding:14px}
.similar-copy h3{font-size:16px;margin:0}
.similar-copy em{display:block;font-size:12px;color:var(--muted);margin:3px 0 10px}
.similar-reasons{display:flex;gap:5px;flex-wrap:wrap}
.similar-reasons span{font-size:10px;padding:5px 7px;background:#f2f5f0;border-radius:999px;color:#657069}
.similar-copy b{display:block;color:var(--green-deep);font-size:11px;margin-top:12px}

@media(max-width:900px){
  .care-highlights{grid-template-columns:repeat(2,1fr)}
  .plant-notes-grid{grid-template-columns:1fr}
  .origin-card{position:static}
  .similar-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:640px){
  .plant-hero-section{padding-top:14px}
  .breadcrumbs{font-size:11px;margin-bottom:10px}
  .plant-gallery{height:470px;border-radius:22px}
  .gallery-title{left:20px;right:54px;bottom:28px}
  .gallery-title h1{font-size:43px}
  .gallery-title em{font-size:14px}
  .gallery-kicker{font-size:10px}
  .gallery-arrow{width:38px;height:38px;font-size:23px}
  .gallery-prev{left:10px}.gallery-next{right:10px}
  .gallery-count{right:14px;bottom:14px}
  .gallery-dots{bottom:15px}
  .care-highlights{grid-template-columns:1fr 1fr;gap:8px}
  .care-highlight{padding:13px;min-height:145px}
  .care-highlight strong{font-size:17px}
  .care-highlight p{font-size:11px}
  .plant-intro-card{padding:19px}
  .plant-intro-card h2,.long-card h2{font-size:31px}
  .intro-lede{font-size:16px}
  .rich-copy,.long-card p{font-size:14px}
  .care-detail-section{padding:46px 0}
  .section-heading-wide h2{font-size:34px}
  .section-heading-wide p{font-size:14px}
  .care-section-grid{grid-template-columns:1fr}
  .detail-card{padding:17px}
  .detail-rows span,.detail-rows strong{font-size:12px}
  .plant-notes-section{padding:50px 0}
  .long-card,.origin-card{padding:18px}
  .similar-grid{display:flex;overflow-x:auto;gap:9px;scrollbar-width:none;padding-bottom:5px}
  .similar-grid::-webkit-scrollbar{display:none}
  .similar-card{min-width:245px}
}



/* PlantLab wide-logo nav fix */
.brand-wide{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:max-content;
}

.brand-wide img{
  width:142px;
  height:auto;
  max-height:40px;
  object-fit:contain;
  border-radius:0;
  flex:0 0 auto;
}

.brand-divider{
  color:#c7cec8;
  font-size:20px;
  font-weight:400;
  line-height:1;
}

.brand-descriptor{
  color:#5f6962;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
}

.menu-brand-wide{
  display:flex;
  align-items:center;
  gap:9px;
}

.menu-brand-wide img{
  width:150px;
  height:auto;
  max-height:42px;
  object-fit:contain;
  border-radius:0;
}

.menu-brand-wide span{
  color:#69736c;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}

@media(max-width:640px){
  .brand-wide{
    gap:7px;
  }

  .brand-wide img{
    width:112px;
    max-height:32px;
  }

  .brand-divider{
    font-size:16px;
  }

  .brand-descriptor{
    font-size:11px;
  }

  .menu-brand-wide{
    flex-wrap:wrap;
  }

  .menu-brand-wide img{
    width:145px;
    max-height:none;
  }

  .menu-brand-wide span{
    width:100%;
    font-size:11px;
  }
}

@media(max-width:390px){
  .brand-wide img{
    width:102px;
  }

  .brand-descriptor{
    font-size:10px;
  }
}
/* =========================================================
   PLANT LIBRARY / EXPLORE ALL
   ========================================================= */

.explore-page{min-height:70vh}

.explore-hero{
  padding:48px 0 26px;
}

.explore-heading-row{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:flex-end;
}

.explore-heading-row h1{
  font-family:"DM Serif Display",serif;
  font-weight:400;
  letter-spacing:-.04em;
  font-size:clamp(46px,6vw,68px);
  line-height:.98;
  margin:7px 0 12px;
}

.explore-heading-row p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
  max-width:650px;
}

.library-count{
  text-align:right;
  min-width:130px;
  padding-bottom:5px;
}

.library-count strong{
  display:block;
  font-family:"DM Serif Display",serif;
  font-weight:400;
  font-size:38px;
  line-height:1;
  color:#4c6250;
}

.library-count span{
  display:block;
  margin-top:4px;
  font-size:11px;
  color:var(--muted);
  font-weight:700;
}

.explore-search{
  margin-top:25px;
  height:58px;
  display:grid;
  grid-template-columns:auto 1fr auto auto;
  align-items:center;
  gap:10px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:17px;
  padding:0 9px 0 16px;
  box-shadow:0 7px 24px rgba(31,47,36,.04);
}

.explore-search>span{
  font-size:20px;
  color:#8b948e;
}

.explore-search input{
  min-width:0;
  width:100%;
  border:0;
  outline:none;
  background:transparent;
  font-size:15px;
  color:var(--ink);
}

.explore-search button{
  border:0;
  background:var(--dark);
  color:#fff;
  border-radius:11px;
  padding:11px 16px;
  font-size:12px;
  font-weight:800;
}

.search-clear{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f0f3ef;
  color:#68726c;
  font-size:18px;
}

.quick-filter-scroll{
  display:flex;
  gap:7px;
  overflow-x:auto;
  scrollbar-width:none;
  padding:13px 0 2px;
}

.quick-filter-scroll::-webkit-scrollbar{display:none}

.quick-filter-scroll a{
  flex:0 0 auto;
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 11px;
  font-size:11px;
  font-weight:700;
  color:#5f6962;
  transition:.16s;
}

.quick-filter-scroll a:hover,
.quick-filter-scroll a.active{
  background:var(--green-soft);
  color:var(--green-deep);
  border-color:#cfe4c7;
}

.explore-content{
  padding:22px 0 70px;
}

.explore-layout{
  display:grid;
  grid-template-columns:225px 1fr;
  gap:24px;
  align-items:start;
}

.filter-sidebar{
  position:sticky;
  top:92px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:19px;
  overflow:hidden;
}

.filter-sidebar-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  padding:16px;
  border-bottom:1px solid var(--line);
}

.filter-sidebar-head span{
  display:block;
  color:#929b94;
  font-size:9px;
  font-weight:800;
  letter-spacing:.11em;
}

.filter-sidebar-head strong{
  display:block;
  margin-top:3px;
  font-size:14px;
}

.filter-sidebar-head a{
  font-size:10px;
  font-weight:800;
  color:var(--green-deep);
}

.filter-form{
  padding:15px;
}

.filter-group{
  margin-bottom:15px;
}

.filter-group label{
  display:block;
  margin-bottom:6px;
  font-size:11px;
  font-weight:800;
  color:#59645d;
}

.filter-group select{
  width:100%;
  height:40px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#f8faf7;
  color:#4d5751;
  padding:0 9px;
  outline:none;
  font-size:11px;
}

.filter-checks{
  display:grid;
  gap:9px;
  padding:5px 0 15px;
}

.filter-checks label{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  color:#59645d;
  font-weight:700;
}

.filter-checks input{
  accent-color:var(--green-deep);
}

.filter-apply{
  width:100%;
  height:42px;
  border:0;
  border-radius:11px;
  background:var(--dark);
  color:#fff;
  font-size:11px;
  font-weight:800;
}

.results-column{min-width:0}

.results-toolbar{
  min-height:45px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:15px;
  margin-bottom:10px;
}

.mobile-filter-row{display:none}

.sort-form{
  display:flex;
  align-items:center;
  gap:8px;
}

.sort-form label{
  font-size:11px;
  color:#7d867f;
  font-weight:700;
}

.sort-form select{
  height:38px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:#4f5953;
  padding:0 10px;
  font-size:11px;
  font-weight:700;
  outline:none;
}

.active-filter-row{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:0 0 13px;
}

.active-filter-row a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 9px;
  border-radius:999px;
  background:#eaf5e5;
  color:#4a7046;
  font-size:10px;
  font-weight:700;
}

.active-filter-row a span{
  font-size:14px;
  line-height:1;
}

.active-filter-row .clear-filter-pill{
  background:#fff;
  border:1px solid var(--line);
  color:#707a73;
}

.explore-plant-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.explore-plant-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:19px;
  overflow:hidden;
  transition:.18s;
  min-width:0;
}

.explore-plant-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-small);
  border-color:#d7e3d3;
}

.explore-card-image{
  position:relative;
  height:200px;
  overflow:hidden;
  background:
    radial-gradient(circle at 72% 20%,rgba(216,255,102,.3),transparent 29%),
    linear-gradient(145deg,#edf5e9,#dfeadb);
}

.explore-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.explore-placeholder{
  position:absolute;
  inset:0;
  display:grid;
  align-content:center;
  justify-items:center;
  gap:4px;
}

.explore-placeholder span{
  font-family:"DM Serif Display",serif;
  font-size:50px;
  color:#70a95f;
}

.explore-placeholder small{
  font-size:9px;
  font-weight:800;
  letter-spacing:.1em;
  color:#83917f;
  text-transform:uppercase;
}

.card-image-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,rgba(10,20,13,.03),transparent 55%,rgba(10,20,13,.36));
  pointer-events:none;
}

.card-badges{
  position:absolute;
  left:10px;
  top:10px;
  display:flex;
  gap:5px;
  flex-wrap:wrap;
}

.card-badges span{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.65);
  backdrop-filter:blur(8px);
  border-radius:999px;
  padding:5px 7px;
  font-size:9px;
  font-weight:800;
  color:#4f5d52;
}

.card-placement{
  position:absolute;
  left:12px;
  bottom:10px;
  color:#fff;
  font-size:10px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  text-shadow:0 2px 8px rgba(0,0,0,.25);
}

.explore-card-copy{
  padding:14px;
}

.card-title-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
  align-items:start;
}

.card-title-row h2{
  margin:0;
  font-size:16px;
  line-height:1.2;
}

.card-title-row em{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:11px;
  line-height:1.35;
}

.open-arrow{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:#f1f5ef;
  color:var(--green-deep);
  font-size:13px;
  transition:.16s;
}

.explore-plant-card:hover .open-arrow{
  transform:translateX(2px);
  background:var(--green-soft);
}

.card-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:5px;
  margin-top:13px;
  padding-top:12px;
  border-top:1px solid var(--line);
}

.card-stats div{min-width:0}

.card-stats small{
  display:block;
  font-size:8px;
  color:#929a94;
  font-weight:800;
  letter-spacing:.08em;
}

.card-stats strong{
  display:block;
  margin-top:2px;
  font-size:11px;
  color:#505a54;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.explore-card-copy p{
  margin:12px 0 0;
  font-size:11px;
  line-height:1.55;
  color:#737c76;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.card-fit-tags{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:11px;
}

.card-fit-tags span{
  background:#f3f6f2;
  color:#69736c;
  border-radius:999px;
  padding:5px 7px;
  font-size:9px;
  font-weight:700;
}

.pagination{
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:16px;
}

.page-arrow{
  font-size:11px;
  font-weight:800;
  color:var(--green-deep);
}

.page-arrow:last-child{text-align:right}
.page-arrow.disabled{color:#aeb4af}

.page-numbers{
  display:flex;
  align-items:center;
  gap:5px;
}

.page-numbers a,
.page-numbers strong{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:9px;
  font-size:11px;
}

.page-numbers a{
  background:#fff;
  border:1px solid var(--line);
  color:#5d675f;
}

.page-numbers strong{
  background:var(--dark);
  color:#fff;
}

.page-numbers span{
  color:#9ca49e;
}

.no-results{
  padding:70px 25px;
  text-align:center;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
}

.no-results-mark{
  width:58px;
  height:58px;
  margin:0 auto 15px;
  display:grid;
  place-items:center;
  border-radius:17px;
  background:var(--green-soft);
  color:var(--green-deep);
  font-size:25px;
}

.no-results h2{
  font-family:"DM Serif Display",serif;
  font-weight:400;
  font-size:34px;
  margin:6px 0 7px;
}

.no-results p{
  margin:0 auto;
  max-width:500px;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}

.no-results>a{
  display:inline-flex;
  margin-top:18px;
  background:var(--dark);
  color:#fff;
  padding:10px 14px;
  border-radius:11px;
  font-size:11px;
  font-weight:800;
}

/* MOBILE FILTER DRAWER */

.filter-drawer{
  display:none;
  position:fixed;
  inset:0;
  z-index:100;
  opacity:0;
  pointer-events:none;
  transition:.2s;
}

.filter-drawer.open{
  opacity:1;
  pointer-events:auto;
}

.filter-drawer-backdrop{
  position:absolute;
  inset:0;
  background:rgba(16,27,19,.42);
}

.filter-drawer-sheet{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  max-height:88vh;
  overflow:auto;
  background:#fff;
  border-radius:24px 24px 0 0;
  padding:10px 16px 18px;
  transform:translateY(100%);
  transition:.26s ease;
  box-shadow:0 -20px 55px rgba(16,27,19,.15);
}

.filter-drawer.open .filter-drawer-sheet{
  transform:translateY(0);
}

.drawer-handle{
  width:38px;
  height:4px;
  border-radius:99px;
  background:#d7ddd7;
  margin:2px auto 12px;
}

.drawer-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:15px;
  padding:0 0 14px;
  border-bottom:1px solid var(--line);
}

.drawer-head span{
  display:block;
  font-size:9px;
  font-weight:800;
  letter-spacing:.1em;
  color:#919a93;
}

.drawer-head strong{
  display:block;
  font-size:17px;
  margin-top:3px;
}

.drawer-head button{
  width:35px;
  height:35px;
  border:0;
  border-radius:50%;
  background:#f0f3ef;
  font-size:20px;
}

.drawer-form{
  padding-top:15px;
}

.drawer-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
}

.drawer-field{
  margin-bottom:13px;
}

.drawer-field label{
  display:block;
  font-size:11px;
  font-weight:800;
  color:#59635d;
  margin-bottom:6px;
}

.drawer-field select{
  width:100%;
  height:44px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#f8faf7;
  color:#4d5751;
  padding:0 10px;
  font-size:12px;
  outline:none;
}

.drawer-checks{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin:3px 0 17px;
}

.drawer-checks label{
  min-height:44px;
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  border-radius:11px;
  padding:0 10px;
  font-size:11px;
  font-weight:700;
  color:#59635d;
}

.drawer-checks input{
  accent-color:var(--green-deep);
}

.drawer-actions{
  position:sticky;
  bottom:-18px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:9px;
  align-items:center;
  margin:0 -16px -18px;
  padding:12px 16px 18px;
  background:rgba(255,255,255,.97);
  border-top:1px solid var(--line);
  backdrop-filter:blur(8px);
}

.drawer-actions a{
  height:44px;
  display:grid;
  place-items:center;
  padding:0 12px;
  font-size:11px;
  font-weight:800;
  color:#6c756f;
}

.drawer-actions button{
  height:44px;
  border:0;
  border-radius:11px;
  background:var(--dark);
  color:#fff;
  font-size:12px;
  font-weight:800;
}

@media(max-width:1050px){
  .explore-layout{grid-template-columns:200px 1fr;gap:16px}
  .explore-plant-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:760px){
  .explore-hero{padding:31px 0 18px}
  .explore-heading-row{align-items:flex-start}
  .explore-heading-row h1{font-size:46px}
  .explore-heading-row p{font-size:14px}
  .library-count{display:none}

  .explore-search{
    height:54px;
    margin-top:19px;
    grid-template-columns:auto 1fr auto;
    padding-right:12px;
  }

  .explore-search input{font-size:14px}
  .explore-search button{display:none}

  .filter-sidebar{display:none}
  .explore-layout{grid-template-columns:1fr}
  .filter-drawer{display:block}

  .results-toolbar{
    justify-content:space-between;
    margin-bottom:10px;
  }

  .mobile-filter-row{
    display:flex;
    align-items:center;
    gap:10px;
  }

  .mobile-filter-btn{
    height:38px;
    border:1px solid var(--line);
    background:#fff;
    border-radius:10px;
    padding:0 11px;
    display:flex;
    align-items:center;
    gap:7px;
    color:#505a54;
    font-size:11px;
    font-weight:800;
  }

  .mobile-filter-btn span{font-size:14px}

  .mobile-filter-btn b{
    min-width:19px;
    height:19px;
    padding:0 5px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:var(--green-soft);
    color:var(--green-deep);
    font-size:9px;
  }

  .mobile-result-count{
    display:none;
    color:#858e88;
    font-size:10px;
  }

  .sort-form label{display:none}
  .sort-form select{max-width:150px}

  .explore-plant-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .explore-card-image{height:155px}
  .explore-card-copy{padding:11px}
  .card-title-row h2{font-size:14px}
  .card-title-row em{font-size:10px}
  .open-arrow{width:25px;height:25px}
  .card-stats{gap:3px}
  .card-stats small{font-size:7px}
  .card-stats strong{font-size:10px}
  .explore-card-copy p{display:none}
  .card-fit-tags{margin-top:9px}
  .card-fit-tags span{font-size:8px}
  .card-badges span{font-size:8px}
  .card-placement{font-size:9px}

  .pagination{
    grid-template-columns:1fr 1fr;
  }

  .page-numbers{
    grid-column:1/-1;
    grid-row:1;
    justify-content:center;
  }

  .page-arrow{
    grid-row:2;
  }
}

@media(max-width:430px){
  .explore-heading-row h1{font-size:42px}
  .explore-plant-grid{grid-template-columns:1fr 1fr;gap:7px}
  .explore-card-image{height:135px}
  .card-stats div:nth-child(3){display:none}
  .card-stats{grid-template-columns:1fr 1fr}
  .card-fit-tags span:nth-child(n+3){display:none}
  .drawer-two{grid-template-columns:1fr 1fr}
  .drawer-checks{grid-template-columns:1fr}
}

/* =========================================================
   SEARCH FIX + DESKTOP FILTER UX
   Append to the bottom of the current master styles.css
   ========================================================= */

/* Shared header search */
.header-search{
  width:158px;
  height:36px;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:6px;
  align-items:center;
  background:#f5f7f4;
  border:1px solid var(--line);
  border-radius:999px;
  padding:0 11px;
  transition:.18s;
}

.header-search:focus-within{
  width:195px;
  background:#fff;
  border-color:#cdddc8;
  box-shadow:0 5px 16px rgba(31,47,36,.05);
}

.header-search>span{
  color:#7d8880;
  font-size:15px;
}

.header-search input{
  width:100%;
  min-width:0;
  border:0;
  outline:none;
  padding:0;
  background:transparent;
  color:#445048;
  font-size:11px;
}

.header-search input::placeholder{
  color:#939b95;
}

/* Mobile shared search */
.mobile-site-search{
  min-height:46px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:8px;
  align-items:center;
  background:#f5f7f4;
  border:1px solid var(--line);
  border-radius:12px;
  padding:0 7px 0 12px;
  margin-bottom:4px;
}

.mobile-site-search>span{
  color:#7c867f;
  font-size:17px;
}

.mobile-site-search input{
  width:100%;
  min-width:0;
  border:0;
  outline:none;
  background:transparent;
  padding:0;
  font-size:13px;
}

.mobile-site-search button{
  border:0;
  background:var(--dark);
  color:#fff;
  padding:8px 10px;
  border-radius:8px;
  font-size:10px;
  font-weight:800;
}

/* Ensure homepage live results stay above surrounding sections */
.search-ui{
  z-index:25;
}

.search-results{
  z-index:60;
}

/* Desktop Explore sidebar:
   keep the sidebar viewport-sized and the Apply button reachable */
@media(min-width:761px){
  .filter-sidebar{
    max-height:calc(100vh - 106px);
    display:flex;
    flex-direction:column;
    overflow:hidden;
  }

  .filter-sidebar-head{
    flex:0 0 auto;
    background:#fff;
    position:relative;
    z-index:3;
  }

  .filter-form{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    padding-bottom:10px;
    scrollbar-width:thin;
    scrollbar-color:#d5ddd3 transparent;
  }

  .filter-form::-webkit-scrollbar{
    width:6px;
  }

  .filter-form::-webkit-scrollbar-thumb{
    background:#d5ddd3;
    border-radius:999px;
  }

  .filter-apply{
    position:sticky;
    bottom:0;
    z-index:5;
    margin-top:8px;
    box-shadow:
      0 -12px 18px rgba(255,255,255,.96),
      0 5px 14px rgba(20,34,25,.08);
  }
}

/* Keep nav from becoming cramped around the new search */
@media(max-width:1180px){
  .header-search{
    width:132px;
  }

  .header-search:focus-within{
    width:165px;
  }

  .built-by{
    display:none;
  }
}

@media(max-width:920px){
  .header-search{
    display:none;
  }
}


/* =========================================================
   PLANTLAB COLLECTIONS
   ========================================================= */

.collections-hub-page,
.collection-detail-page{
  min-height:70vh;
}

/* Hub hero */

.collections-hub-hero{
  padding:58px 0 34px;
}

.collections-hub-hero-grid{
  display:grid;
  grid-template-columns:1fr auto;
  gap:50px;
  align-items:end;
}

.collections-hub-hero h1{
  font-family:"DM Serif Display",serif;
  font-weight:400;
  letter-spacing:-.04em;
  font-size:clamp(48px,6vw,72px);
  line-height:.97;
  max-width:820px;
  margin:8px 0 16px;
}

.collections-hub-hero p{
  max-width:720px;
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.72;
}

.collections-hub-stat{
  min-width:175px;
  text-align:right;
  padding-bottom:6px;
}

.collections-hub-stat>span{
  display:block;
  color:#8e9790;
  font-size:9px;
  font-weight:800;
  letter-spacing:.13em;
}

.collections-hub-stat strong{
  display:block;
  font-family:"DM Serif Display",serif;
  font-weight:400;
  font-size:56px;
  line-height:.95;
  color:#47614a;
  margin-top:5px;
}

.collections-hub-stat small{
  display:block;
  color:var(--muted);
  font-size:11px;
  margin-top:5px;
}

/* Hub cards */

.collections-hub-grid-section{
  padding:18px 0 72px;
}

.collections-hub-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}

.collection-hub-card{
  display:grid;
  grid-template-columns:185px 1fr;
  min-height:245px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  transition:.18s;
}

.collection-hub-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:#d5e2d1;
}

.collection-hub-visual{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 70% 28%,rgba(216,255,102,.42),transparent 28%),
    linear-gradient(145deg,#e7f2e1,#d7e7d0);
}

.collection-index{
  position:absolute;
  top:15px;
  left:15px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.1em;
  color:#698167;
}

.collection-visual-mark{
  position:absolute;
  width:125px;
  height:125px;
  border:24px solid rgba(77,134,68,.16);
  border-radius:50% 45% 52% 40%;
  left:27px;
  top:54px;
  transform:rotate(-17deg);
}

.collection-plant-count{
  position:absolute;
  left:15px;
  bottom:14px;
}

.collection-plant-count strong{
  display:block;
  font-family:"DM Serif Display",serif;
  font-size:30px;
  line-height:1;
  font-weight:400;
  color:#456c43;
}

.collection-plant-count span{
  display:block;
  margin-top:2px;
  color:#70816e;
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.collection-hub-copy{
  padding:20px;
  display:flex;
  flex-direction:column;
}

.collection-hub-eyebrow{
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
  color:var(--green-deep);
}

.collection-hub-copy h2{
  margin:5px 0 8px;
  font-size:21px;
  line-height:1.15;
}

.collection-hub-copy p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.58;
}

.collection-hub-chips{
  display:flex;
  flex-wrap:wrap;
  gap:5px;
  margin-top:14px;
}

.collection-hub-chips span{
  padding:5px 7px;
  border-radius:999px;
  background:#f2f5f0;
  color:#69736c;
  font-size:9px;
  font-weight:700;
}

.collection-hub-copy b{
  display:block;
  margin-top:auto;
  padding-top:16px;
  color:var(--green-deep);
  font-size:11px;
}

/* Color accents */

.accent-red .collection-hub-visual,
.collection-detail-hero.accent-red .collection-detail-art{
  background:
    radial-gradient(circle at 70% 25%,rgba(255,222,180,.38),transparent 28%),
    linear-gradient(145deg,#f4e8e4,#ead4d1);
}

.accent-moon .collection-hub-visual,
.collection-detail-hero.accent-moon .collection-detail-art{
  background:
    radial-gradient(circle at 72% 26%,rgba(216,255,102,.25),transparent 28%),
    linear-gradient(145deg,#e8efe5,#d8e2d5);
}

.accent-water .collection-hub-visual,
.collection-detail-hero.accent-water .collection-detail-art{
  background:
    radial-gradient(circle at 70% 25%,rgba(217,255,244,.45),transparent 28%),
    linear-gradient(145deg,#e3f0e8,#d3e6db);
}

.accent-root .collection-hub-visual,
.collection-detail-hero.accent-root .collection-detail-art{
  background:
    radial-gradient(circle at 70% 25%,rgba(255,236,168,.35),transparent 28%),
    linear-gradient(145deg,#efe9da,#ded7c6);
}

/* CTA */

.collections-explore-cta{
  padding:0 0 70px;
}

.collections-explore-cta-inner{
  background:var(--dark);
  color:#fff;
  border-radius:24px;
  padding:28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.collections-explore-cta h2{
  font-family:"DM Serif Display",serif;
  font-weight:400;
  font-size:35px;
  letter-spacing:-.03em;
  margin:5px 0 7px;
}

.collections-explore-cta p{
  color:#a8b7ad;
  font-size:13px;
  margin:0;
  max-width:670px;
}

.collections-explore-cta>a{
  flex:0 0 auto;
  background:#fff;
  color:#233027;
  border-radius:12px;
  padding:12px 15px;
  font-size:11px;
  font-weight:800;
}

/* Detail hero */

.collection-detail-hero{
  padding:24px 0 55px;
}

.collection-breadcrumbs{
  margin-bottom:15px;
}

.collection-detail-hero-grid{
  display:grid;
  grid-template-columns:1fr .62fr;
  gap:34px;
  align-items:stretch;
}

.collection-detail-copy{
  padding:44px 0 34px;
}

.collection-detail-copy h1{
  font-family:"DM Serif Display",serif;
  font-size:clamp(46px,6vw,70px);
  font-weight:400;
  line-height:.97;
  letter-spacing:-.04em;
  margin:7px 0 16px;
  max-width:850px;
}

.collection-detail-copy>p{
  max-width:740px;
  font-size:15px;
  line-height:1.75;
  color:var(--muted);
  margin:0;
}

.collection-detail-chips{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin-top:20px;
}

.collection-detail-chips span{
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:7px 9px;
  font-size:10px;
  font-weight:700;
  color:#5c6860;
}

.collection-detail-art{
  min-height:310px;
  position:relative;
  overflow:hidden;
  border-radius:28px;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 70% 25%,rgba(216,255,102,.4),transparent 29%),
    linear-gradient(145deg,#e8f2e3,#d5e5ce);
}

.collection-art-orb{
  position:absolute;
  border-radius:50%;
}

.collection-art-orb-a{
  width:220px;
  height:220px;
  right:-60px;
  top:-50px;
  background:rgba(216,255,102,.25);
}

.collection-art-orb-b{
  width:160px;
  height:160px;
  left:-45px;
  bottom:-45px;
  background:rgba(255,255,255,.4);
}

.collection-art-mark{
  position:absolute;
  width:170px;
  height:170px;
  left:50%;
  top:45%;
  transform:translate(-50%,-50%) rotate(-15deg);
  border:32px solid rgba(72,124,66,.18);
  border-radius:50% 38% 53% 43%;
}

.collection-art-count{
  position:absolute;
  left:22px;
  bottom:20px;
}

.collection-art-count strong{
  display:block;
  font-family:"DM Serif Display",serif;
  font-size:46px;
  line-height:1;
  font-weight:400;
  color:#456844;
}

.collection-art-count span{
  display:block;
  margin-top:3px;
  color:#667965;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* Results */

.collection-results-section{
  padding:58px 0 70px;
  background:#eef2eb;
}

.collection-results-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:25px;
  margin-bottom:22px;
}

.collection-results-heading h2{
  font-family:"DM Serif Display",serif;
  font-weight:400;
  font-size:39px;
  letter-spacing:-.035em;
  margin:5px 0 0;
}

.collection-results-heading>a{
  color:var(--green-deep);
  font-size:11px;
  font-weight:800;
  padding-bottom:5px;
}

.collection-plant-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:11px;
}

.collection-plant-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  transition:.18s;
}

.collection-plant-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-small);
}

.collection-plant-image{
  position:relative;
  height:175px;
  overflow:hidden;
  background:
    radial-gradient(circle at 70% 20%,rgba(216,255,102,.28),transparent 28%),
    linear-gradient(145deg,#edf4e9,#dfeadb);
}

.collection-plant-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.collection-plant-placeholder{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  align-content:center;
  gap:3px;
}

.collection-plant-placeholder span{
  font-family:"DM Serif Display",serif;
  font-size:46px;
  color:#6ba45e;
}

.collection-plant-placeholder small{
  color:#83907f;
  font-size:8px;
  font-weight:800;
  letter-spacing:.1em;
}

.collection-card-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,transparent 55%,rgba(9,19,12,.4));
}

.collection-card-placement{
  position:absolute;
  left:11px;
  bottom:9px;
  color:#fff;
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.07em;
}

.collection-plant-copy{
  padding:12px;
}

.collection-plant-copy h3{
  font-size:14px;
  margin:0;
}

.collection-plant-copy em{
  display:block;
  color:var(--muted);
  font-size:10px;
  margin:3px 0 11px;
}

.collection-card-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:4px;
  border-top:1px solid var(--line);
  padding-top:10px;
}

.collection-card-stats span{
  min-width:0;
}

.collection-card-stats small{
  display:block;
  color:#969d98;
  font-size:7px;
  font-weight:800;
  letter-spacing:.07em;
}

.collection-card-stats strong{
  display:block;
  color:#56615a;
  font-size:9px;
  margin-top:2px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.collection-plant-copy p{
  color:var(--muted);
  font-size:10px;
  line-height:1.5;
  margin:11px 0 0;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.collection-plant-copy b{
  display:block;
  color:var(--green-deep);
  font-size:10px;
  margin-top:11px;
}

.collection-empty{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:28px;
}

/* Related */

.related-collections-section{
  padding:62px 0 72px;
}

.related-collections-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:11px;
}

.related-collections-grid>a{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  transition:.18s;
}

.related-collections-grid>a:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-small);
}

.related-collections-grid span{
  display:block;
  color:var(--green-deep);
  font-size:9px;
  font-weight:800;
  letter-spacing:.11em;
}

.related-collections-grid h3{
  font-size:18px;
  margin:5px 0 6px;
}

.related-collections-grid p{
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
  margin:0;
}

.related-collections-grid b{
  display:block;
  margin-top:13px;
  color:var(--green-deep);
  font-size:10px;
}

@media(max-width:1000px){
  .collections-hub-grid{
    grid-template-columns:1fr;
  }

  .collection-detail-hero-grid{
    grid-template-columns:1fr .55fr;
  }

  .collection-plant-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

@media(max-width:760px){
  .collections-hub-hero{
    padding:36px 0 25px;
  }

  .collections-hub-hero-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .collections-hub-hero h1{
    font-size:47px;
  }

  .collections-hub-hero p{
    font-size:14px;
  }

  .collections-hub-stat{
    display:none;
  }

  .collection-hub-card{
    grid-template-columns:125px 1fr;
    min-height:225px;
  }

  .collection-visual-mark{
    width:100px;
    height:100px;
    left:12px;
    top:56px;
    border-width:20px;
  }

  .collection-hub-copy{
    padding:16px;
  }

  .collection-hub-copy h2{
    font-size:18px;
  }

  .collection-hub-copy p{
    font-size:12px;
  }

  .collection-hub-chips span:nth-child(n+3){
    display:none;
  }

  .collections-explore-cta-inner{
    align-items:flex-start;
    flex-direction:column;
  }

  .collection-detail-hero{
    padding-top:14px;
  }

  .collection-detail-hero-grid{
    grid-template-columns:1fr;
  }

  .collection-detail-copy{
    padding:20px 0 8px;
  }

  .collection-detail-copy h1{
    font-size:45px;
  }

  .collection-detail-copy>p{
    font-size:14px;
  }

  .collection-detail-art{
    min-height:220px;
  }

  .collection-results-heading{
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
  }

  .collection-results-heading h2{
    font-size:34px;
  }

  .collection-plant-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }

  .collection-plant-image{
    height:135px;
  }

  .collection-card-stats{
    grid-template-columns:1fr 1fr;
  }

  .collection-card-stats span:nth-child(3){
    display:none;
  }

  .collection-plant-copy p{
    display:none;
  }

  .related-collections-grid{
    display:flex;
    overflow-x:auto;
    gap:9px;
    scrollbar-width:none;
  }

  .related-collections-grid::-webkit-scrollbar{
    display:none;
  }

  .related-collections-grid>a{
    min-width:245px;
  }
}

@media(max-width:420px){
  .collection-hub-card{
    grid-template-columns:105px 1fr;
  }

  .collection-visual-mark{
    width:82px;
    height:82px;
    left:10px;
    border-width:17px;
  }

  .collection-plant-copy h3{
    font-size:13px;
  }
}

/* =========================================================
   COLLECTION IMAGE SUPPORT
   ========================================================= */

.collection-hub-visual.has-collection-image{
  background:#dfe9db;
}

.collection-hub-visual.has-collection-image>img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.collection-image-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom,rgba(7,17,10,.08),transparent 48%,rgba(7,17,10,.62));
}

.collection-hub-visual.has-collection-image .collection-index{
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.3);
}

.collection-hub-visual.has-collection-image .collection-plant-count strong,
.collection-hub-visual.has-collection-image .collection-plant-count span{
  color:#fff;
  text-shadow:0 2px 12px rgba(0,0,0,.34);
}

/* Collection detail hero image */

.collection-detail-art.has-collection-image{
  background:#dfe8db;
}

.collection-detail-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.collection-detail-image-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom,rgba(7,17,10,.03),transparent 42%,rgba(7,17,10,.66));
}

.collection-detail-art.has-collection-image .collection-art-count{
  z-index:3;
}

.collection-detail-art.has-collection-image .collection-art-count strong,
.collection-detail-art.has-collection-image .collection-art-count span{
  color:#fff;
  text-shadow:0 2px 12px rgba(0,0,0,.38);
}

/* Related collection image */

.related-collections-grid>a.has-related-image{
  padding:0 0 18px;
  overflow:hidden;
}

.related-collection-image{
  height:128px;
  position:relative;
  overflow:hidden;
  margin-bottom:15px;
}

.related-collection-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.related-collection-image>div{
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,transparent 45%,rgba(8,18,11,.24));
}

.related-collections-grid>a.has-related-image>span,
.related-collections-grid>a.has-related-image>h3,
.related-collections-grid>a.has-related-image>p,
.related-collections-grid>a.has-related-image>b{
  margin-left:18px;
  margin-right:18px;
}

@media(max-width:760px){
  .collection-hub-visual.has-collection-image>img{
    object-position:center;
  }

  .collection-detail-art.has-collection-image{
    min-height:260px;
  }

  .related-collection-image{
    height:135px;
  }
}

/* =========================================================
   CREATE YOUR TANK
   ========================================================= */

.tank-builder-page{
  min-height:75vh;
}

.builder-intro{
  padding:55px 0 34px;
}

.builder-intro-grid{
  display:grid;
  grid-template-columns:1fr .4fr;
  gap:54px;
  align-items:end;
}

.builder-intro h1{
  font-family:"DM Serif Display",serif;
  font-weight:400;
  font-size:clamp(48px,6vw,72px);
  letter-spacing:-.04em;
  line-height:.97;
  max-width:830px;
  margin:8px 0 16px;
}

.builder-intro p{
  max-width:720px;
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.72;
}

.builder-intro-points{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:20px;
}

.builder-intro-points span{
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  padding:7px 10px;
  color:#667169;
  font-size:10px;
  font-weight:700;
}

.builder-intro-card{
  min-height:180px;
  position:relative;
  overflow:hidden;
  background:var(--dark);
  border-radius:22px;
  padding:22px;
  color:#fff;
}

.builder-intro-card>span{
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
  color:#a3c29a;
}

.builder-intro-card>strong{
  display:block;
  margin-top:10px;
  font-family:"DM Serif Display",serif;
  font-weight:400;
  font-size:54px;
  line-height:.9;
}

.builder-intro-card>small{
  display:block;
  margin-top:5px;
  color:#9cad9f;
  font-size:10px;
}

.builder-intro-lines{
  position:absolute;
  right:-15px;
  bottom:-22px;
  width:150px;
  height:110px;
  transform:rotate(-13deg);
}

.builder-intro-lines i{
  display:block;
  width:100%;
  height:16px;
  margin-bottom:8px;
  border:1px solid rgba(216,255,102,.17);
  border-radius:50%;
}

.builder-section{
  padding:8px 0 78px;
}

.builder-shell{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  box-shadow:0 16px 46px rgba(31,47,36,.05);
}

.builder-topbar{
  min-height:70px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  padding:0 24px;
}

.builder-progress-copy span{
  display:block;
  color:#909991;
  font-size:9px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.builder-progress-copy strong{
  display:block;
  margin-top:3px;
  font-size:14px;
}

.builder-reset-top{
  border:0;
  background:transparent;
  color:#7c867f;
  font-size:10px;
  font-weight:800;
}

.builder-progress-track{
  height:4px;
  background:#edf0ec;
}

.builder-progress-fill{
  width:14.28%;
  height:100%;
  background:var(--green);
  transition:width .3s ease;
}

.builder-stage{
  min-height:510px;
  padding:50px 48px 38px;
}

.builder-step{
  display:none;
  animation:builderFade .22s ease;
}

.builder-step.active{
  display:block;
}

@keyframes builderFade{
  from{opacity:.3;transform:translateY(4px)}
  to{opacity:1;transform:none}
}

.builder-question{
  max-width:720px;
  margin-bottom:28px;
}

.builder-step-kicker{
  display:block;
  color:var(--green-deep);
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
}

.builder-question h2,
.results-summary-card h2{
  font-family:"DM Serif Display",serif;
  font-weight:400;
  font-size:42px;
  line-height:1.02;
  letter-spacing:-.035em;
  margin:6px 0 9px;
}

.builder-question p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
}

.builder-options{
  display:grid;
  gap:10px;
}

.size-options{
  grid-template-columns:repeat(3,1fr);
}

.three-options{
  grid-template-columns:repeat(3,1fr);
}

.placement-options{
  grid-template-columns:repeat(3,1fr);
}

.goals-options{
  grid-template-columns:repeat(2,1fr);
}

.builder-options button{
  min-height:125px;
  position:relative;
  text-align:left;
  background:#f9fbf8;
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  color:var(--ink);
  transition:.16s;
}

.builder-options button:hover{
  transform:translateY(-2px);
  border-color:#ccdfc6;
  background:#fff;
}

.builder-options button.selected{
  border-color:#93cc82;
  background:#eff9eb;
  box-shadow:inset 0 0 0 1px #93cc82;
}

.builder-options button.selected:after{
  content:"✓";
  position:absolute;
  right:12px;
  top:12px;
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--green-deep);
  color:#fff;
  font-size:11px;
  font-weight:800;
}

.choice-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  margin-bottom:18px;
  border-radius:11px;
  background:#edf5e9;
  color:var(--green-deep);
  font-size:18px;
}

.builder-options strong{
  display:block;
  font-size:15px;
}

.builder-options small{
  display:block;
  margin-top:5px;
  max-width:250px;
  color:#77817a;
  font-size:11px;
  line-height:1.5;
}

.builder-not-sure{
  margin-top:14px;
  border:0;
  background:transparent;
  color:var(--green-deep);
  font-size:11px;
  font-weight:800;
  padding:6px 0;
}

.placement-art{
  width:100%;
  height:47px;
  display:block;
  position:relative;
  overflow:hidden;
  margin-bottom:13px;
  border-radius:11px;
  background:#eaf2e6;
}

.placement-art:before,
.placement-art:after{
  content:"";
  position:absolute;
  bottom:0;
  border-radius:100% 100% 0 0;
  background:#7fb771;
}

.placement-front:before{
  left:10%;
  width:80%;
  height:15px;
}

.placement-mid:before{
  left:18%;
  width:64%;
  height:29px;
}

.placement-back:before{
  left:10%;
  width:80%;
  height:43px;
}

.placement-float:before{
  left:10%;
  top:7px;
  bottom:auto;
  width:80%;
  height:10px;
  border-radius:999px;
}

.placement-epi:before{
  left:15%;
  width:70%;
  height:12px;
  background:#8a7a5d;
}

.placement-epi:after{
  left:33%;
  width:35%;
  height:35px;
}

.placement-any:before{
  left:8%;
  width:25%;
  height:20px;
  box-shadow:54px -10px 0 #7fb771,108px -22px 0 #7fb771;
}

.color-swatch{
  width:46px;
  height:46px;
  display:block;
  margin-bottom:17px;
  border-radius:50%;
  border:5px solid rgba(255,255,255,.75);
  box-shadow:0 0 0 1px #dbe2d8;
}

.swatch-green{
  background:linear-gradient(135deg,#4f873f,#9ccf79);
}

.swatch-mixed{
  background:linear-gradient(135deg,#5f9f4d 0 48%,#c76750 52% 100%);
}

.swatch-red{
  background:linear-gradient(135deg,#8f4038,#d57b68);
}

.builder-controls{
  min-height:76px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 24px;
  border-top:1px solid var(--line);
  background:#fbfcfa;
}

.builder-control-spacer{
  flex:1;
}

.builder-back,
.builder-next{
  min-height:42px;
  border-radius:11px;
  font-size:11px;
  font-weight:800;
}

.builder-back{
  border:0;
  background:transparent;
  color:#6b756e;
  padding:0 10px;
}

.builder-next{
  min-width:135px;
  border:0;
  background:var(--dark);
  color:#fff;
  padding:0 15px;
}

.builder-next:disabled{
  cursor:not-allowed;
  background:#d9deda;
  color:#929993;
}

/* Results */

.builder-results-step{
  padding-bottom:8px;
}

.results-summary-card{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:flex-start;
  background:linear-gradient(145deg,#edf8e8,#f9fbf7);
  border:1px solid #dcebd7;
  border-radius:20px;
  padding:24px;
}

.results-summary-card h2{
  font-size:38px;
}

.results-summary-card p{
  max-width:760px;
  margin:0;
  color:#657069;
  font-size:13px;
  line-height:1.65;
}

.results-summary-card>button{
  flex:0 0 auto;
  border:1px solid #d3e1ce;
  background:#fff;
  color:#52625a;
  border-radius:10px;
  padding:9px 11px;
  font-size:10px;
  font-weight:800;
}

.tank-profile-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin:12px 0 34px;
}

.tank-profile-strip>span{
  background:#fff;
  border:1px solid var(--line);
  border-radius:13px;
  padding:12px;
}

.tank-profile-strip small{
  display:block;
  color:#929b94;
  font-size:8px;
  font-weight:800;
  letter-spacing:.09em;
}

.tank-profile-strip strong{
  display:block;
  margin-top:3px;
  font-size:13px;
}

.match-group{
  padding:30px 0 8px;
  border-top:1px solid var(--line);
}

.best-match-group{
  border-top:0;
  padding-top:0;
}

.match-group-heading{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-end;
  margin-bottom:17px;
}

.match-group-heading span{
  display:block;
  color:var(--green-deep);
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
}

.match-group-heading h3{
  font-family:"DM Serif Display",serif;
  font-weight:400;
  font-size:31px;
  letter-spacing:-.03em;
  margin:4px 0 4px;
}

.match-group-heading p{
  margin:0;
  color:var(--muted);
  font-size:12px;
}

.match-group-heading>strong{
  font-family:"DM Serif Display",serif;
  font-size:32px;
  font-weight:400;
  color:#8b958d;
}

.builder-result-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.builder-result-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:17px;
  transition:.17s;
}

.builder-result-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-small);
}

.builder-result-image{
  height:155px;
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,#edf4e8,#dce9d6);
}

.builder-result-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.builder-result-placeholder{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
}

.builder-result-placeholder span{
  font-family:"DM Serif Display",serif;
  font-size:44px;
  color:#6da45f;
}

.builder-result-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,transparent 50%,rgba(7,17,10,.35));
}

.match-score{
  position:absolute;
  left:9px;
  bottom:8px;
  color:#fff;
  background:rgba(12,27,16,.42);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  padding:5px 7px;
  font-size:9px;
  font-weight:800;
}

.builder-result-copy{
  padding:12px;
}

.builder-result-copy h4{
  font-size:14px;
  margin:0;
}

.builder-result-copy em{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:10px;
}

.builder-result-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:4px;
  margin-top:11px;
  padding-top:10px;
  border-top:1px solid var(--line);
}

.builder-result-stats small{
  display:block;
  color:#969d98;
  font-size:7px;
  font-weight:800;
  letter-spacing:.07em;
}

.builder-result-stats strong{
  display:block;
  margin-top:2px;
  color:#56615a;
  font-size:9px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.why-match{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  margin-top:11px;
}

.why-match span{
  background:#eff6ec;
  color:#557052;
  border-radius:999px;
  padding:5px 6px;
  font-size:8px;
  font-weight:700;
}

.result-caution{
  margin-top:8px;
  border-radius:8px;
  background:#fff6e6;
  color:#776437;
  padding:7px;
  font-size:8px;
  line-height:1.4;
}

.builder-result-copy>b{
  display:block;
  margin-top:10px;
  color:var(--green-deep);
  font-size:9px;
}

.compact-results .builder-result-card{
  display:grid;
  grid-template-columns:105px 1fr;
}

.compact-results .builder-result-image{
  height:auto;
  min-height:140px;
}

.compact-results .builder-result-stats{
  grid-template-columns:1fr 1fr;
}

.compact-results .builder-result-stats>span:nth-child(3){
  display:none;
}

.builder-bottom-actions{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  margin-top:34px;
  padding-top:22px;
  border-top:1px solid var(--line);
}

.builder-bottom-actions button{
  border:1px solid var(--line);
  background:#fff;
  border-radius:10px;
  padding:9px 11px;
  color:#616c65;
  font-size:10px;
  font-weight:800;
}

.builder-bottom-actions a{
  color:var(--green-deep);
  font-size:11px;
  font-weight:800;
}

@media(max-width:1050px){
  .builder-result-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .builder-intro{
    padding:34px 0 22px;
  }

  .builder-intro-grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .builder-intro h1{
    font-size:46px;
  }

  .builder-intro p{
    font-size:14px;
  }

  .builder-intro-card{
    display:none;
  }

  .builder-section{
    padding-bottom:55px;
  }

  .builder-shell{
    border-radius:20px;
  }

  .builder-topbar{
    min-height:62px;
    padding:0 15px;
  }

  .builder-stage{
    min-height:520px;
    padding:31px 15px 25px;
  }

  .builder-question{
    margin-bottom:21px;
  }

  .builder-question h2{
    font-size:34px;
  }

  .builder-question p{
    font-size:13px;
  }

  .size-options,
  .three-options,
  .placement-options,
  .goals-options{
    grid-template-columns:1fr;
  }

  .builder-options button{
    min-height:82px;
    display:grid;
    grid-template-columns:45px 1fr;
    column-gap:11px;
    align-items:center;
    padding:12px 14px;
  }

  .builder-options .choice-icon,
  .builder-options .color-swatch{
    grid-row:1/3;
    grid-column:1;
    margin:0;
  }

  .builder-options strong{
    grid-column:2;
    align-self:end;
    font-size:14px;
  }

  .builder-options small{
    grid-column:2;
    align-self:start;
    margin-top:2px;
    font-size:11px;
  }

  .placement-options button{
    grid-template-columns:72px 1fr;
  }

  .placement-art{
    grid-row:1/3;
    width:72px;
    height:50px;
    margin:0;
  }

  .placement-options strong,
  .placement-options small{
    grid-column:2;
  }

  .builder-controls{
    position:sticky;
    bottom:0;
    z-index:20;
    min-height:70px;
    padding:0 14px;
    box-shadow:0 -8px 20px rgba(31,47,36,.05);
  }

  .builder-next{
    min-width:125px;
  }

  .results-summary-card{
    align-items:flex-start;
    flex-direction:column;
    gap:15px;
    padding:18px;
  }

  .results-summary-card h2{
    font-size:32px;
  }

  .tank-profile-strip{
    grid-template-columns:1fr 1fr;
  }

  .match-group-heading{
    align-items:flex-start;
  }

  .match-group-heading h3{
    font-size:28px;
  }

  .builder-result-grid{
    display:flex;
    overflow-x:auto;
    gap:9px;
    scrollbar-width:none;
    padding-bottom:5px;
    scroll-snap-type:x proximity;
  }

  .builder-result-grid::-webkit-scrollbar{
    display:none;
  }

  .builder-result-card{
    min-width:245px;
    scroll-snap-align:start;
  }

  .compact-results .builder-result-card{
    display:block;
    min-width:220px;
  }

  .compact-results .builder-result-image{
    height:135px;
    min-height:0;
  }

  .builder-bottom-actions{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media(max-width:390px){
  .builder-intro h1{
    font-size:42px;
  }

  .builder-stage{
    min-height:500px;
  }

  .builder-result-card{
    min-width:230px;
  }
}

/* PLANTLAB GUIDES */
.guides-hub-hero{padding:58px 0 35px}.guides-hub-grid{display:grid;grid-template-columns:1fr auto;gap:50px;align-items:end}
.guides-hub-hero h1,.guide-detail-copy h1,.guide-plants-heading h2,.guide-copy-section h2,.guide-builder-callout h2,.guide-tool-callout h2{font-family:"DM Serif Display",serif;font-weight:400;letter-spacing:-.035em}
.guides-hub-hero h1{font-size:clamp(48px,6vw,72px);line-height:.97;margin:8px 0 16px;max-width:850px}.guides-hub-hero p{max-width:760px;margin:0;color:var(--muted);font-size:15px;line-height:1.72}
.guides-hub-mark{text-align:right;min-width:170px}.guides-hub-mark span{display:block;color:#8b958e;font-size:9px;font-weight:800;letter-spacing:.12em}.guides-hub-mark strong{display:block;font-family:"DM Serif Display",serif;font-size:54px;font-weight:400;line-height:.95;color:#49644d}.guides-hub-mark small{font-size:10px;color:var(--muted)}
.guides-grid-section{padding:18px 0 72px}.guides-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.guide-card{min-height:280px;position:relative;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:20px;padding:17px;display:flex;flex-direction:column;transition:.18s}.guide-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-small)}
.guide-card-top{display:flex;justify-content:space-between}.guide-card-top span,.guide-card-top b{font-size:9px;font-weight:800;letter-spacing:.1em;color:#8b958e}.guide-card-top b{color:var(--green-deep)}.guide-card-mark{width:82px;height:82px;margin:30px 0 18px;border:17px solid rgba(95,153,82,.14);border-radius:50% 38% 53% 40%;transform:rotate(-12deg)}
.guide-card-copy{margin-top:auto}.guide-card-copy h2{font-size:19px;margin:0 0 7px}.guide-card-copy p{color:var(--muted);font-size:12px;line-height:1.55;margin:0}.guide-card-copy strong{display:block;margin-top:14px;color:var(--green-deep);font-size:10px}
.guide-builder-callout{padding:0 0 72px}.guide-builder-callout-inner{background:var(--dark);color:#fff;border-radius:24px;padding:28px;display:flex;align-items:center;justify-content:space-between;gap:30px}.guide-builder-callout h2{font-size:35px;margin:5px 0 7px}.guide-builder-callout p{margin:0;color:#a4b4a9;font-size:13px}.guide-builder-callout>a{background:#fff;color:#263129;border-radius:11px;padding:11px 14px;font-size:11px;font-weight:800}
.guide-detail-hero{padding:23px 0 54px}.guide-detail-hero-grid{display:grid;grid-template-columns:1fr .48fr;gap:42px;align-items:center}.guide-detail-copy{padding:35px 0 22px}.guide-detail-copy h1{font-size:clamp(48px,6vw,70px);line-height:.97;margin:7px 0 16px;max-width:820px}.guide-detail-copy p{margin:0;max-width:740px;color:var(--muted);font-size:15px;line-height:1.75}
.guide-detail-art{min-height:290px;position:relative;overflow:hidden;border:1px solid var(--line);border-radius:27px;background:radial-gradient(circle at 72% 20%,rgba(216,255,102,.3),transparent 28%),linear-gradient(145deg,#e8f2e3,#d9e7d3)}.guide-detail-art>span{position:absolute;left:20px;top:18px;color:#657f62;font-size:9px;font-weight:800;letter-spacing:.13em}.guide-detail-shape{position:absolute;width:150px;height:150px;left:50%;top:48%;transform:translate(-50%,-50%) rotate(-14deg);border:29px solid rgba(75,132,67,.17);border-radius:50% 38% 53% 40%}.guide-detail-art>strong{position:absolute;right:19px;bottom:17px;color:#71856e;font-size:10px;letter-spacing:.12em}
.guide-body-section{padding:62px 0;background:#eef2eb}.guide-body-grid{display:grid;grid-template-columns:1fr 250px;gap:38px;align-items:start}.guide-article{display:grid;gap:12px}.guide-copy-section{display:grid;grid-template-columns:40px 1fr;gap:14px;background:#fff;border:1px solid var(--line);border-radius:19px;padding:24px;scroll-margin-top:95px}.guide-copy-section>span{color:#96a097;font-size:10px;font-weight:800;padding-top:7px}.guide-copy-section h2{font-size:30px;margin:0 0 8px}.guide-copy-section p{margin:0;color:#68736b;font-size:14px;line-height:1.78}
.guide-tool-callout{background:var(--dark);color:#fff;border-radius:19px;padding:24px}.guide-tool-callout h2{font-size:30px;margin:5px 0 8px}.guide-tool-callout p{margin:0;color:#a7b7ac;font-size:13px;line-height:1.6}.guide-tool-callout a{display:inline-flex;margin-top:15px;background:#fff;color:#29352d;border-radius:10px;padding:9px 11px;font-size:10px;font-weight:800}
.guide-sidebar{position:sticky;top:94px;display:grid;gap:10px}.guide-toc,.guide-side-links{background:#fff;border:1px solid var(--line);border-radius:17px;padding:16px}.guide-toc>span{display:block;color:#939c95;font-size:9px;font-weight:800;letter-spacing:.11em;margin-bottom:9px}.guide-toc a{display:block;padding:9px 0;border-top:1px solid var(--line);color:#5c675f;font-size:11px;line-height:1.4;font-weight:700}.guide-side-links a{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid var(--line);color:#5e6962;font-size:10px;font-weight:800}.guide-side-links a:first-child{border-top:0}.guide-side-links b{color:var(--green-deep)}
.guide-plants-section{padding:62px 0 70px}.guide-plants-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:20px}.guide-plants-heading h2{font-size:38px;margin:5px 0}.guide-plants-heading p{color:var(--muted);font-size:12px;margin:0}.guide-plants-heading>a{color:var(--green-deep);font-size:10px;font-weight:800}.guide-plant-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.guide-plant-card{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff;transition:.17s}.guide-plant-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-small)}
.guide-plant-image{height:145px;position:relative;overflow:hidden;background:linear-gradient(145deg,#edf4e9,#dde9d7)}.guide-plant-image img{width:100%;height:100%;object-fit:cover}.guide-plant-placeholder{position:absolute;inset:0;display:grid;place-items:center;font-family:"DM Serif Display",serif;font-size:44px;color:#6da45e}.guide-plant-image>span{position:absolute;left:9px;bottom:8px;background:rgba(10,23,14,.35);color:#fff;border-radius:999px;padding:5px 7px;font-size:8px;font-weight:800;text-transform:uppercase}.guide-plant-copy{padding:11px}.guide-plant-copy h3{font-size:13px;margin:0}.guide-plant-copy em{display:block;color:var(--muted);font-size:9px;margin:3px 0 10px}.guide-plant-copy>div{display:flex;gap:5px;flex-wrap:wrap}.guide-plant-copy>div span{background:#f3f6f2;border-radius:999px;padding:5px 6px;color:#6a746d;font-size:8px}
.related-guides-section{padding:58px 0 72px;background:#eef2eb}.related-guides-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.related-guides-grid>a{background:#fff;border:1px solid var(--line);border-radius:17px;padding:17px}.related-guides-grid span{color:var(--green-deep);font-size:9px;font-weight:800;letter-spacing:.1em}.related-guides-grid h3{font-size:17px;margin:5px 0 6px}.related-guides-grid p{color:var(--muted);font-size:11px;line-height:1.55;margin:0}.related-guides-grid b{display:block;margin-top:12px;color:var(--green-deep);font-size:10px}
@media(max-width:950px){.guides-grid{grid-template-columns:repeat(2,1fr)}.guide-body-grid{grid-template-columns:1fr 210px}.guide-plant-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.guides-hub-hero{padding:35px 0 24px}.guides-hub-grid{grid-template-columns:1fr}.guides-hub-mark{display:none}.guides-hub-hero h1{font-size:46px}.guides-hub-hero p{font-size:14px}.guides-grid{grid-template-columns:1fr}.guide-card{min-height:230px}.guide-builder-callout-inner{align-items:flex-start;flex-direction:column}.guide-detail-hero{padding-top:14px}.guide-detail-hero-grid{grid-template-columns:1fr;gap:18px}.guide-detail-copy{padding:22px 0 4px}.guide-detail-copy h1{font-size:45px}.guide-detail-copy p{font-size:14px}.guide-detail-art{min-height:215px}.guide-body-section{padding:45px 0}.guide-body-grid{grid-template-columns:1fr}.guide-sidebar{display:none}.guide-copy-section{grid-template-columns:28px 1fr;gap:9px;padding:18px}.guide-copy-section h2{font-size:27px}.guide-copy-section p{font-size:13px}.guide-plants-heading{align-items:flex-start;flex-direction:column;gap:6px}.guide-plants-heading h2{font-size:33px}.guide-plant-grid,.related-guides-grid{display:flex;overflow-x:auto;gap:8px;scrollbar-width:none}.guide-plant-card{min-width:230px}.related-guides-grid>a{min-width:245px}}

/* =========================================================
   PLANTLAB x WILDADS — PLANT PROFILE
   ========================================================= */

/* Gallery sponsored final slide */

.gallery-ad-slide{
  background:#152219;
}

.gallery-ad-media{
  position:absolute;
  inset:0;
  overflow:hidden;
}

.gallery-ad-media>img,
.gallery-ad-media>video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.gallery-ad-media>video{
  background:#101811;
}

.gallery-ad-fallback{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 72% 25%,rgba(216,255,102,.18),transparent 28%),
    linear-gradient(145deg,#24372a,#142019);
  color:#b8c9ba;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.gallery-ad-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to top,rgba(8,15,10,.88) 0%,rgba(8,15,10,.58) 35%,rgba(8,15,10,.04) 72%);
}

.gallery-ad-content{
  position:absolute;
  z-index:4;
  left:22px;
  right:82px;
  bottom:24px;
  color:#fff;
}

.gallery-ad-sponsored{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:0 8px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  background:rgba(12,22,15,.38);
  backdrop-filter:blur(8px);
  color:#fff;
  font-size:9px;
  line-height:1;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.gallery-ad-content h2{
  margin:8px 0 0;
  max-width:680px;
  font-family:"DM Serif Display",serif;
  font-weight:400;
  font-size:clamp(28px,4vw,43px);
  line-height:.98;
  letter-spacing:-.03em;
}

.gallery-ad-content p{
  max-width:600px;
  margin:8px 0 0;
  color:rgba(255,255,255,.82);
  font-size:12px;
  line-height:1.55;
}

.gallery-ad-cta{
  display:inline-flex;
  align-items:center;
  gap:24px;
  min-height:38px;
  margin-top:13px;
  padding:0 12px;
  border-radius:10px;
  background:#fff;
  color:#223027;
  font-size:10px;
  font-weight:800;
}

.gallery-ad-cta span{
  font-size:14px;
}

.plant-gallery.showing-sponsored-slide [data-gallery-plant-title]{
  opacity:0;
  pointer-events:none;
}

.gallery-title{
  transition:opacity .16s ease;
}

.gallery-dots .sponsored-dot{
  outline:1px solid rgba(255,255,255,.42);
  outline-offset:2px;
}

/* Text ad beneath Origin + Habitat */

.origin-wildad{
  margin-top:10px;
  padding:17px;
  border:1px solid #dbe4d7;
  border-radius:18px;
  background:
    radial-gradient(circle at 88% 10%,rgba(216,255,102,.13),transparent 27%),
    #fff;
}

.origin-wildad-label{
  display:inline-block;
  color:#71806f;
  font-size:8px;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.origin-wildad h3{
  margin:6px 0 0;
  font-size:17px;
  line-height:1.2;
}

.origin-wildad p{
  margin:7px 0 0;
  color:#69746c;
  font-size:11px;
  line-height:1.58;
}

.origin-wildad>a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:38px;
  margin-top:13px;
  padding:0 11px;
  border-radius:10px;
  background:#eef5eb;
  color:#426440;
  font-size:10px;
  font-weight:800;
}

.origin-wildad>a span{
  font-size:13px;
}

@media(max-width:760px){
  .gallery-ad-content{
    left:17px;
    right:60px;
    bottom:18px;
  }

  .gallery-ad-content h2{
    font-size:29px;
  }

  .gallery-ad-content p{
    font-size:11px;
    line-height:1.45;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .gallery-ad-cta{
    min-height:36px;
    margin-top:10px;
  }

  .origin-wildad{
    padding:15px;
  }

  .origin-wildad h3{
    font-size:16px;
  }
}

/* WildAds mobile gallery reliability patch */

.plant-gallery.showing-sponsored-slide .gallery-title,
.plant-gallery.showing-sponsored-slide [data-gallery-plant-title]{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

.gallery-ad-slide video{
  width:100%;
  height:100%;
  object-fit:cover;
  background:#101811;
}

.gallery-ad-slide.wildad-video-needs-tap::after{
  content:"Tap to play";
  position:absolute;
  z-index:6;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  padding:8px 11px;
  border-radius:999px;
  background:rgba(10,18,12,.66);
  color:#fff;
  font-size:10px;
  font-weight:800;
  letter-spacing:.04em;
  pointer-events:none;
  backdrop-filter:blur(8px);
}

@media(max-width:760px){
  .gallery-ad-slide video{
    object-fit:cover;
  }

  .plant-gallery.showing-sponsored-slide .gallery-title{
    display:none !important;
  }
}


