.plant-directory-row { display: flex; align-items: center; gap: 5px; min-height: 23px; }
.plant-directory-link { min-width: 0; flex: 1; border: 0; padding: 1px 0; background: none; color: #222; text-align: left; }
/* One typography source for the directory and plant detail text, including mobile. */
.plant-directory-link, .plant-detail-page, .plant-detail-layout, .plant-facts,
.plant-reference-sidebar .plant-shared-specs li, .plant-reference-sidebar .supplier-name {
  font-family: var(--directory-font-family);
  font-size: var(--directory-text-size);
  font-weight: var(--directory-text-weight);
  line-height: var(--directory-text-leading);
  letter-spacing: var(--directory-text-spacing);
}
.plant-directory-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.plant-directory-info { border: 0; background: transparent; padding: 0; width: 19px; height: 21px; flex-shrink: 0; color: #777; font-size: 13px; opacity: 0; }
.plant-directory-row:hover .plant-directory-info, .plant-directory-row:focus-within .plant-directory-info { opacity: 1; }
.plant-directory .group-bottom { justify-content: flex-start; padding-top: 5px; }
.plant-directory .category-group { margin-bottom: 23px; }
.plant-directory-link { overflow-wrap: anywhere; }
.plant-handling-label { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 3px 0 6px; font-size: 9px; line-height: 1.5; text-decoration: none; }
.plant-handling-status.is-confirmed { color: #32644a; }
.plant-handling-status.is-unconfirmed { color: #777; }
.plant-handling-status.is-historical { color: #806330; }
.historical-catalog-note { margin: 14px 0 20px; padding: 12px 14px; border-left: 2px solid #a68c5e; background: #faf8f3; color: #665537; font-size: 11px; line-height: 1.8; }
.handling-search-note { margin: -3px 0 20px; color: #777; font-size: 10px; line-height: 1.8; }
.plant-handling-summary { display: flex; flex-wrap: wrap; gap: 3px 14px; margin-top: 12px; font-size: 11px; line-height: 1.7; font-style: normal; }
.plant-handling-caution { flex-basis: 100%; color: #777; font-size: 10px; }
.catalog-pagination { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; margin-top: 20px; border-top: 1px solid #ccc; font-size: 11px; color: #666; }
.catalog-pagination>div { display: flex; align-items: center; gap: 16px; }
.catalog-pagination button { border: 0; background: none; color: #222; padding: 5px 0; font-size: 11px; }
.catalog-pagination button:disabled { opacity: .3; cursor: default; }
.catalog-controls { display: flex; align-items: center; gap: 16px; padding: 0 0 16px; }
.catalog-controls label { color: #666; font-size: 11px; }
.catalog-controls input { width: 260px; max-width: 70%; padding: 8px 0; border: 0; border-bottom: 1px solid #aaa; border-radius: 0; background: #fff; font-size: 12px; }
.catalog-empty { padding: 30px 0; color: #777; font-size: 12px; }
.catalog-view .data-table td:nth-child(2) { max-width: 260px; white-space: normal; overflow-wrap: anywhere; }
.plant-detail-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 0 0 14px; margin: 0 0 18px; border-bottom: 1px solid #111; }
.plant-classification { color: #777; font-size: 10px; }
.plant-detail-heading h1 { font-size: 22px; font-weight: 500; line-height: 1.35; letter-spacing: -.6px; margin-top: 3px; }
.scientific-name { color: #666; font-size: 13px; font-style: italic; margin-top: 6px; }
.plant-detail-heading>.text-button { font-size: 11px; white-space: nowrap; }
.plant-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 58px; align-items: start; }
.plant-facts-section h2, .plant-suppliers h2 { font-size: 12px; font-weight: 500; line-height: 1.55; margin-bottom: 8px; }
/* Compact bilingual text pairs echo the main sidebar's thin ruled rows. */
.plant-facts { border: 0; margin: 0; }
.plant-facts>div { display: block; min-height: 25px; padding: 3px 0; border: 0; border-bottom: 1px solid #222; overflow-wrap: anywhere; }
.plant-facts dt { display: inline; color: #000; font-size: inherit; font-weight: 700; }
.plant-facts dt::after { content: ':'; margin-right: 8px; color: #555; font-weight: 400; }
.plant-facts dt span { display: inline; margin-left: 5px; color: #777; font-size: 10px; font-weight: 400; }
.plant-facts dd { display: inline; margin: 0; color: #222; font-size: inherit; line-height: inherit; overflow-wrap: anywhere; }
.plant-facts dd small { display: block; color: #777; font-size: 10px; line-height: 1.55; margin: 2px 0 3px; }
.plant-facts .plant-size-row { display: flex; flex-wrap: wrap; align-items: baseline; }
.plant-facts .plant-size-row>dd { display: flex; flex: 1; flex-wrap: wrap; gap: 2px 18px; min-width: 0; }
.plant-size-dimension { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 7px; }
.plant-size-label { color: #000; font-weight: 700; }
.plant-size-label>span { color: #777; font-size: 10px; font-weight: 400; }
.plant-care-note { font-size: 10px; line-height: 1.9; color: #777; margin-top: 14px; }
.plant-sources { margin-top: 20px; color: #555; font-size: 10px; }
.plant-sources summary { cursor: pointer; width: fit-content; padding: 4px 0; }
.plant-sources ul { margin: 8px 0; padding-left: 18px; }
.plant-sources li { margin-bottom: 7px; }
.plant-sources a { text-decoration: underline; text-underline-offset: 3px; }
.plant-suppliers { border-left: 1px solid #ddd; padding-left: 20px; }
.plant-suppliers h2 span { font-weight: 400; color: #666; font-size: 11px; margin-left: 5px; }
.plant-reference-sidebar .plant-shared-specs { margin-bottom: 28px; }
.plant-reference-sidebar .plant-shared-specs h2, .plant-reference-sidebar .plant-farms-heading { padding-bottom: 6px; margin-bottom: 7px; border-bottom: 1px solid #222; color: #000; font-size: 11px; font-weight: 700; }
.plant-reference-sidebar .plant-shared-specs h2 span, .plant-reference-sidebar .plant-farms-heading>span[lang="en"] { color: #777; font-size: 10px; font-weight: 400; }
.plant-shared-specs ul { list-style: none; padding: 0; margin: 0; }
.plant-reference-sidebar .plant-shared-specs li, .plant-reference-sidebar .supplier-name { display: block; color: #222; text-align: left; overflow-wrap: anywhere; }
.plant-reference-sidebar .supplier-name { width: 100%; }
.plant-specs-empty { color: #777; font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
.plant-reference-sidebar>.plant-supplier { padding: 0; }
.plant-quote-selection .plant-quote-farm { margin-bottom: 14px; font-size: 12px; font-weight: 700; }
.plant-quote-selection .supplier-demo { margin-top: 10px; }
.quote-only-note { font-size: 11px; line-height: 1.9; color: #666; padding-bottom: 18px; }
.plant-supplier { border: 0; padding: 0 0 20px; }
.supplier-name { background: none; border: 0; padding: 0; color: #111; font-size: 12px; font-weight: 500; line-height: 1.55; }
.supplier-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.supplier-region { color: #777; font-size: 10px; margin-top: 5px; }
.plant-supplier dl { margin: 18px 0 10px; }
.plant-supplier dl>div { display: flex; gap: 15px; justify-content: space-between; border-bottom: 1px solid #eee; padding: 8px 0; font-size: 12px; }
.plant-supplier dt { color: #777; }
.plant-supplier dd { margin: 0; }
.supplier-demo { font-size: 10px; color: #888; line-height: 1.55; }
.supplier-spec-label { display: block; margin: 8px 0 6px; color: #777; font-size: 10px; }
.supplier-spec-select { display: block; width: 100%; max-width: 100%; min-height: 38px; margin-top: 4px; padding: 7px 8px; background: #fff; border: 1px solid #bbb; border-radius: 0; font-size: 11px; color: #222; }
.plant-supplier .button { width: 100%; margin-top: 10px; font-size: 11px; min-height: 40px; }
.item-detail-link { background: none; border: 0; padding: 0; text-align: left; color: #222; }
.item-detail-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.detail-info .text-button { margin-left: 13px; font-size: 10px; }
.plant-photo-gallery { margin-top: 24px; }
.plant-photo-gallery h2 { padding-bottom: 6px; margin-bottom: 12px; border-bottom: 1px solid #222; color: #000; font-size: var(--directory-text-size); font-weight: 700; }
.plant-photo-gallery h2 span { margin-left: 5px; color: #777; font-size: 10px; font-weight: 400; }
.plant-photo-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: start; gap: 20px; }
.plant-photo { margin: 0; min-width: 0; max-width: 360px; }
.plant-photo-frame { display: flex; align-items: center; justify-content: flex-start; min-width: 0; }
.plant-photo-image { display: block; width: auto; max-width: 100%; height: auto; max-height: 320px; object-fit: contain; }
.plant-photo figcaption { margin-top: 7px; color: #777; font-size: 10px; line-height: 1.55; overflow-wrap: anywhere; }
.plant-photo-credit { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.plant-photo-credit:hover { color: #222; }
.plant-photo-unavailable { padding: 16px 0; color: #777; font-size: var(--directory-text-size); }
.plant-photo [hidden] { display: none; }
@media(max-width: 1000px) {
  .plant-detail-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
  .plant-suppliers { padding-left: 20px; }
}
@media(max-width: 760px) {
  .catalog-pagination { flex-wrap: wrap; justify-content: center; font-size: 10px; }
  .catalog-pagination>span { width: 100%; text-align: center; }
  .plant-directory-row { min-height: 32px; }
  .plant-directory-link { min-height: 32px; }
  .plant-directory-info { display: none; }
  .plant-detail-heading { align-items: flex-start; flex-direction: column; gap: 8px; padding-bottom: 12px; margin-bottom: 16px; }
  .plant-detail-heading h1 { font-size: 21px; }
  .scientific-name { font-size: 12px; }
  .plant-detail-layout { display: flex; flex-direction: column; gap: 22px; }
  .plant-facts-section, .plant-suppliers { width: 100%; }
  .plant-suppliers { padding-left: 0; border-left: 0; border-top: 1px solid #ddd; padding-top: 16px; }
  .quote-only-note br { display: none; }
  .supplier-spec-select { min-height: 44px; }
  .plant-supplier .button { max-width: 360px; min-height: 44px; }
  .detail-info .text-button { display: block; margin: 8px 0 0; text-align: left; }
}
@media(max-width: 380px) {
  :root { --directory-text-size: 10px; }
}

/* The home view previews each category; category and search views show all matches. */
.plant-directory { grid-template-columns: repeat(var(--plant-columns, 4), minmax(0, 1fr)); }
.sidebar-sticky { position: sticky; top: 12px; }
@media (max-width: 1000px) {
  .plant-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plant-directory.is-single { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .sidebar-sticky { position: static; width: 100%; }
}
