@charset "UTF-8";

@font-face {
  font-family: 'aqua';
  src: url('font/Poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  color-scheme: light;
  --bg: #f5fcff;
  --surface: #ffffff;
  --surface-soft: #f7fdff;
  --primary: #0b7a8a;
  --primary-dark: #085469;
  --accent: #8ad8e7;
  --accent-strong: #d9f3f8;
  --text: #12313f;
  --muted: #5b7380;
  --border: #d7ebf2;
}

* {
  box-sizing: border-box;
}


 html {
  /* Adiciona um espaço no topo ao navegar por links âncora (#id) */
  scroll-padding-top: 100px; 

  /* Aproveite e adicione a rolagem suave se ainda não tiver! */
  scroll-behavior: smooth; 
} 

body {
  margin: 0;
  font-family: aqua, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(138, 216, 231, 0.28), transparent 28%),
    linear-gradient(180deg, #f7fdff 0%, #edf9fb 100%);
  line-height: 1.6;
}

header.hero {
  padding: 3rem 1.5rem 3rem;
  background: linear-gradient(135deg, #0f8ea6 0%, #7bd3e6 100%);
  color: white;
  text-align: center;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.home-hero {
  padding: 2.2rem 1rem 2.4rem;
  background: linear-gradient(135deg, #0f8ea6 0%, #7bd3e6 100%);
}

.home-hero h1 {
  margin-inline: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

header h1 {
  margin: 0.2rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

#boasvindas {
  font-size: 1.1rem;
  margin: 0 auto 1.2rem;
  max-width: 720px;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #0f8ea6 0%, #7bd3e6 100%);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.top-nav-mobile-bar {
  display: none;
}

.top-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
}

.top-nav-item {
  position: relative;
}

.top-nav-item-parent {
  position: relative;
}

.top-nav-parent-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.top-nav-parent-button.active {
  background: #085469;
}

.top-nav-parent-caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform 180ms ease;
}

.top-nav-item-parent.submenu-open .top-nav-parent-caret {
  transform: rotate(180deg);
}

.top-nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  z-index: 20;
  min-width: 210px;
  padding: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 38px rgba(18, 49, 63, 0.16);
  transform: translateX(-50%);
}

.top-nav-item-parent.submenu-open .top-nav-submenu,
.top-nav-item-parent:focus-within .top-nav-submenu {
  display: grid;
  gap: 0.45rem;
}

.top-nav-submenu a,
.top-nav-submenu a.active {
  width: 100%;
  text-align: left;
  background: #eff9fb;
  color: var(--text);
}

.top-nav-submenu a.active {
  background: #d6eff4;
}

.filters-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.filters-card-header h2 {
  margin: 0;
}

.filters-close-btn {
  display: none;
}

.filters-backdrop {
  display: none;
}

.filters-backdrop.hidden {
  display: none !important;
}

.confirm-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(18, 49, 63, 0.52);
}

.confirm-dialog {
  width: min(100%, 420px);
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 24px 48px rgba(18, 49, 63, 0.24);
  overflow: hidden;
}

.confirm-dialog-header,
.confirm-dialog-body,
.confirm-dialog-actions {
  padding: 1.1rem 1.2rem;
}

.confirm-dialog-header {
  background: linear-gradient(135deg, #0f8ea6 0%, #7bd3e6 100%);
  color: white;
}

.confirm-dialog-header h2,
.confirm-dialog-body p {
  margin: 0;
}

.confirm-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
}

.confirm-dialog-actions button {
  margin-top: 0;
}

.confirm-dialog-cancel {
  background: var(--primary);
  color: white;
  border: 1px solid transparent;
}

.confirm-dialog-confirm {
  background: #dceef2;
  color: var(--text);
  border: 1px solid var(--border);
}

.top-nav-brand {
  display: none;
}

.nav-utility-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
}

.nav-mobile-spacer {
  display: none;
}

.nav-menu-btn {
  flex-direction: column;
  gap: 4px;
}

.nav-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-filter-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.nav-search-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
}

.nav-filter-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-search-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-nav a,
button,
.button-link {
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--primary);
  color: white;
  display: inline-block;
}

.top-nav a.active {
  background: #085469;
}

.top-nav a.top-nav-brand {
  color: white;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.top-nav a.top-nav-brand:hover {
  transform: none;
  box-shadow: none;
  text-decoration: underline;
}

.top-nav a.top-nav-site-link,
.top-nav a.top-nav-site-link.active {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0.2rem 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.top-nav a.top-nav-site-link:hover {
 
  box-shadow: none;
  transform: matrix(1.02, 0, 0, 1.02, 0, 0);
  transition: transform 0.2s ease-in-out 0.1s;
}


.top-nav-search-host {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.top-nav-search-host-mobile {
  display: none;
}

.top-nav-search-host-desktop.search-active {
  flex: 1 1 520px;
  max-width: 640px;
}

.home-shell {
  width: min(100%, 1180px);
  margin: 1rem auto 0;
  padding: 0 1rem 4rem;
  gap: 1.1rem;
}

.home-section,
.home-cluster-section,
.home-member-cta {
  position: relative;
  overflow: hidden;
}

.home-section::before,
.home-cluster-section::before,
.home-member-cta::before {
  content: '';
  position: absolute;
  inset: auto auto -55px -45px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 216, 231, 0.22), transparent 68%);
  pointer-events: none;
}

.section-heading {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.section-kicker {
  color: var(--primary);
  font-weight: 800;
}

.section-heading h2,
.home-section h2,
.home-cluster-section h2,
.home-member-cta h2 {
  margin: 0;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}

.section-link {
  align-self: end;
}

.home-cluster-grid,
.home-start-grid,
.home-content-grid,
.home-dual-grid,
.home-faq-grid,
.home-member-cta,
.home-tools-grid {
  display: grid;
  gap: 1rem;
}

.home-cluster-grid,
.home-content-grid,
.home-faq-grid,
.home-tools-grid {
  grid-template-columns: 1fr;
}

.home-cluster-card,
.home-article-card,
.home-fish-card,
.home-list-card,
.home-product-card,
.home-teaser-card,
.home-faq-card,
.home-start-card {
  position: relative;
}

.home-cluster-card {
  display: block;
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(247, 253, 255, 0.96), rgba(233, 248, 252, 0.96));
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-cluster-card:hover,
.home-cluster-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(18, 49, 63, 0.1);
  border-color: rgba(11, 122, 138, 0.32);
}

.home-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-card-link:hover,
.home-card-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(18, 49, 63, 0.1);
  border-color: rgba(11, 122, 138, 0.32);
}

.home-cluster-card h3,
.home-start-card h3,
.home-article-card h3,
.home-fish-card h3,
.home-list-card h3,
.home-product-card h3,
.home-teaser-card h3,
.home-faq-card h3 {
  margin: 0.45rem 0 0.55rem;
}

.cluster-badge,
.coming-soon-label,
.step-number {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cluster-badge {
  padding: 0.35rem 0.7rem;
  background: var(--accent-strong);
  color: var(--primary-dark);
}

.coming-soon-label {
  padding: 0.3rem 0.65rem;
  background: #eef9fc;
  color: var(--muted);
}

.step-number {
  color: var(--primary);
}

.home-start-card,
.home-article-card,
.home-fish-card,
.home-list-card,
.home-product-card,
.home-teaser-card,
.home-faq-card {
  height: 100%;
}

.home-content-grid-guides {
  grid-template-columns: 1fr;
}

.home-teaser-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 251, 253, 0.98));
}

.accent-surface {
  background: linear-gradient(180deg, rgba(219, 243, 248, 0.72), rgba(247, 253, 255, 0.98));
}

.affiliate-note {
  margin: 1rem 0 0;
  color: var(--muted);
}

.home-member-cta {
  align-items: center;
  background: linear-gradient(135deg, rgba(11, 122, 138, 0.08), rgba(138, 216, 231, 0.22));
}

.home-member-actions {
  display: grid;
  gap: 0.8rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
}

.nav-search-toggle,
.nav-search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  background: rgba(11, 122, 138, 0.92);
  box-shadow: none;
}

.nav-search-toggle:hover,
.nav-utility-btn:hover,
.nav-search-close:hover {
   transform: matrix(1.02, 0, 0, 1.02, 0, 0);
  box-shadow: none;
  background: rgba(255, 255, 255, 0.2);
  background: #0a6c7b;
}

.top-nav-search-form {
  display: none;
  align-items: center;
  gap: 0.5rem;
  width: min(100%, 640px);
  padding: 0.35rem 0.45rem 0.35rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(6, 76, 93, 0.28);
  backdrop-filter: blur(8px);
}

.top-nav-search-host.search-active .top-nav-search-form {
  display: flex;
}

.top-nav-search-host.search-active .top-nav-brand,
.top-nav-search-host.search-active .top-nav-site-link,
.top-nav-search-host.search-active .nav-search-toggle {
  display: none;
}

.top-nav-search-input {
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: white;
  box-shadow: none;
}

.top-nav-search-input:focus {
  outline: none;
}

.top-nav-search-input::placeholder {
  color: rgba(255, 255, 255, 0.78);
}

.top-nav-search-suggestions {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  width: min(100vw - 2rem, 640px);
  max-height: min(70vh, 28rem);
  padding: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(18, 49, 63, 0.18);
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 20;
}

.top-nav-search-host-mobile .top-nav-search-suggestions {
  left: 50%;
  transform: translateX(-50%);
}

.nav-search-suggestion-list,
.nav-search-empty {
  display: grid;
  gap: 0.45rem;
}

.top-nav a.nav-search-suggestion,
.top-nav a.nav-search-all-results {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.top-nav a.nav-search-suggestion:hover,
.top-nav a.nav-search-suggestion.is-active,
.top-nav a.nav-search-all-results:hover {
  transform: none;
  box-shadow: none;
  background: #edf9fb;
}

.nav-search-suggestion-type {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.top-nav a.nav-search-all-results {
  margin-top: 0.2rem;
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding-bottom: 0.3rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-search-empty p {
  margin: 0;
  padding: 0.3rem 0.2rem;
}

.top-nav a:hover,
button:hover,
.button-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11, 122, 138, 0.18);
}

.button-link-secondary {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}

main.catalog-layout {
  max-width: 1740px;
}

.page-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.search-result-card {
  background: #f7fdff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem;
}

.search-result-card h3,
.search-result-card p {
  margin-top: 0;
}

.search-result-type {
  margin-bottom: 0.45rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.search-result-link {
  color: var(--primary);
  font-weight: 700;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: 0 20px 40px rgba(18, 49, 63, 0.06);
}

.auth-grid,
.form-grid,
.product-grid,
.summary-grid,
.feature-grid,
.steps-grid,
.fish-grid {
  display: grid;
  gap: 1rem;
}

.auth-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid,
.steps-grid,
.fish-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.panel,
.feature-card,
.steps-card,
.summary article,
.product-card,
.fish-card,
.merchant-card-printable,
.filters-card,
.auth-container {
  background: #f7fdff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}

#authCard {
  width: min(100%, 600px);
  margin-inline: auto;
}

#authCard .auth-container {
  width: 100%;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
}

.correction-tip-box {
  margin-top: 0.95rem;
  padding: 0.95rem;
  border-radius: 14px;
  background: #fef8e7;
  border: 1px solid #f7d78d;
}

.correction-tip-box h4 {
  margin: 0 0 0.55rem;
  color: #7a4b00;
}

.correction-tip-box ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.45rem;
}

.correction-tip-box a,
.correction-link a {
  color: var(--primary);
  font-weight: 700;
}

.correction-link {
  margin-top: 0.85rem;
}

input,
select,
textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.notice {
  min-height: 1.5rem;
  margin: 0.8rem 0;
  font-weight: 600;
}

.notice.alert {
  color: #a03b2f;
}

.notice.success {
  color: #207544;
}

.hidden {
  display: none;
}

.member-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.member-header-stack {
  align-items: flex-start;
}

.member-header-stack p {
  margin: 0.35rem 0 0;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.summary-caption {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.summary-grid-reading {
  margin-top: 1rem;
}

.reading-meta {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.45rem;
}

.reading-meta p {
  margin: 0;
}

.reading-history {
  margin-top: 1.1rem;
}

.reading-history-list {
  display: grid;
  gap: 0.75rem;
}

.reading-card {
  background: #f7fdff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem;
}

.reading-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.reading-delete-button {
  margin-top: 0;
  padding: 0.45rem 0.75rem;
}

.reading-card p {
  margin: 0.35rem 0 0;
}

.auth-toggle {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0.6rem;
  margin-top: 0.8rem;
  width: 100%;
}

.toggle-btn {
  background: #dceef2;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.55rem 0.9rem;
  width: 100%;
  text-align: center;
  margin: 5px;
}

.button-submit {
  margin-top: 15px;
  margin-bottom: 15px;
  width: 100%;
}

.button-secondary {
  background: #dceef2;
  color: var(--text);
  border: 1px solid var(--border);
  margin-top: 0.8rem;
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper input {
  flex: 1;
  width: 100%;
  padding-right: 3rem;
}

.password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  border: 0;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.password-toggle-btn:hover {
  transform: translateY(-50%);
  box-shadow: none;
  background: rgba(11, 122, 138, 0.08);
}

.password-toggle-btn svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle-btn.is-visible {
  color: var(--primary);
}

.field-counter {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  line-height: 1.2;
  text-align: right;
  color: var(--muted);
}

.field-counter.is-near-limit {
  color: #b45800;
  font-weight: 700;
}

.toggle-btn.active {
  background: var(--primary);
  color: white;
}

.auth-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 1rem;
}

.catalog-layout > * {
  min-width: 0;
}

.filters-card {
  min-width: 0;
  overflow-x: hidden;
}

.filter-form {
  display: grid;
  gap: 0.9rem;
}

.filter-form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.filter-form-actions button {
  width: 100%;
  margin-top: 0;
}

.filter-form-reset {
  background: #eef7fb;
  color: #12313f;
  border: 1px solid #c8dde7;
}

.filter-form-reset:hover {
  background: #e3f1f7;
}

.catalog-results-header {
  margin-bottom: 1rem;
}

.catalog-results-intro h2,
.catalog-results-intro p {
  margin: 0;
}

.catalog-results-intro {
  display: grid;
  gap: 0.45rem;
}

.hero-plants-catalog .hero-content {
  max-width: 780px;
}

.catalog-hero-copy {
  max-width: 60ch;
}

.plant-quick-filter {
  display: block;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #cfe7d4;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(245, 252, 246, 0.98), rgba(232, 245, 235, 0.98));
}

.plant-quick-filter h3,
.plant-quick-filter p {
  margin: 0;
}

.plant-quick-toggle {
  width: 100%;
  margin-top: 0;
  background: #1f6f43;
}

.plant-quick-toggle.is-active {
  background: #14532f;
  box-shadow: 0 0 0 3px rgba(20, 83, 47, 0.18);
}

.plant-grid {
  align-items: stretch;
}

.plant-card {
  background: linear-gradient(180deg, rgba(249, 253, 250, 0.98), rgba(238, 247, 239, 0.98));
  border-color: #d7ecda;
  cursor: pointer;
}

.plant-photo {
  background: linear-gradient(135deg, rgba(42, 110, 65, 0.12), rgba(169, 219, 181, 0.22));
}

.plant-card-header-row {
  align-items: flex-start;
}

.plant-card-scientific-name {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-style: italic;
}

.plant-difficulty-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #dff1e4;
  color: #1f6f43;
  font-weight: 700;
  white-space: nowrap;
}

.plant-card-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.9rem;
  margin-bottom: 0.95rem;
}

.plant-card-meta-grid p {
  margin: 0;
}

.plant-compatibility {
  margin-bottom: 0.95rem;
  padding: 0.9rem;
  border: 1px solid #d7e4dc;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.plant-compatibility-compatible {
  border-color: #b8dfc2;
  background: linear-gradient(180deg, rgba(240, 252, 243, 0.98), rgba(231, 247, 235, 0.98));
}

.plant-compatibility-incompatible {
  border-color: #efd1d1;
  background: linear-gradient(180deg, rgba(255, 246, 246, 0.98), rgba(252, 236, 236, 0.98));
}

.plant-compatibility-guest,
.plant-compatibility-no-aquarium {
  border-color: #cfe1eb;
  background: linear-gradient(180deg, rgba(245, 250, 253, 0.98), rgba(234, 243, 248, 0.98));
}

.plant-compatibility-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.plant-compatibility-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.plant-compatibility-compatible .plant-compatibility-badge {
  background: #d7f0de;
  color: #1f6f43;
}

.plant-compatibility-incompatible .plant-compatibility-badge {
  background: #f7dddd;
  color: #8b2f2f;
}

.plant-compatibility-guest .plant-compatibility-badge,
.plant-compatibility-no-aquarium .plant-compatibility-badge {
  background: #deedf5;
  color: #1f4f6f;
}

.plant-compatibility-summary {
  margin: 0.65rem 0 0;
  color: #284635;
}

.plant-compatibility-list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.plant-compatibility-item {
  color: #284635;
}

.plant-compatibility-item.is-compatible::marker {
  color: #1f6f43;
}

.plant-compatibility-item.is-incompatible::marker {
  color: #8b2f2f;
}

.plant-card-actions {
  margin-top: auto;
}

.plant-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.plant-catalog-empty {
  background: linear-gradient(180deg, rgba(249, 253, 250, 0.98), rgba(238, 247, 239, 0.98));
  border-color: #d7ecda;
}

.filter-form label {
  min-width: 0;
}

.filter-form input,
.filter-form select,
.filter-form textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.fish-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  margin-bottom: 0.9rem;
  border: 1px dashed var(--border);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(11, 122, 138, 0.08), rgba(138, 216, 231, 0.16));
  color: var(--muted);
  font-weight: 600;
  text-align: center;
  overflow: hidden;
}

.fish-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fish-photo-filled {
  border-style: solid;
}

.fish-card {
  display: flex;
  flex-direction: column;
}

.fish-card-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.fish-card-header-row h3 {
  margin: 0;
}

.fish-card-inline-button {
  margin-top: 0;
  flex-shrink: 0;
}

.fish-card > p {
  margin-top: 0;
}

.fish-card-actions {
  display: none;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.compatibility-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
  vertical-align: middle;
  flex-shrink: 0;
}

.compatibility-result li,
.compatibility-check-list li,
.compatibility-inline li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.compatibility-inline {
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
}

.compatibility-inline-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.compatibility-check-list,
.compatibility-inline ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.status-ok {
  color: #1d7d48;
}

.status-warning {
  color: #a76b00;
}

.status-error {
  color: #a03b2f;
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-card a {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--primary);
  font-weight: 700;
}

canvas {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: white;
}

.merchant-card-printable {
  display: grid;
  grid-template-columns: 180px minmax(220px, 1fr) 170px;
  align-items: stretch;
  gap: 1rem;
  max-width: 760px;
  margin-top: 1rem;
}

.merchant-card-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(11, 122, 138, 0.08), rgba(138, 216, 231, 0.16));
  color: var(--muted);
  text-align: center;
  overflow: hidden;
}

.merchant-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.merchant-card-photo-filled {
  border-style: solid;
}

.merchant-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.merchant-card-builder {
  display: grid;
  gap: 0.9rem;
}

.merchant-card-builder-actions {
  display: flex;
  justify-content: flex-start;
}

.merchant-card-content button {
  align-self: flex-start;
}

.merchant-card-header h3,
.merchant-brand,
.merchant-qr-caption,
.merchant-footer,
.merchant-card-content p,
.merchant-card-meta p {
  margin: 0;
}

.merchant-card-header span {
  color: var(--muted);
  font-weight: 700;
}

.merchant-card-meta {
  display: grid;
  gap: 0.5rem;
}

.merchant-card-qr-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
  padding-left: 0.5rem;
  border-left: 1px solid var(--border);
}

.merchant-brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.merchant-qr-caption {
  color: var(--primary);
  font-weight: 700;
}

.qr-code-box img {
  max-width: 140px;
  display: block;
}

.merchant-price input {
  margin-top: 0.4rem;
}

.merchant-price-readonly input {
  background: white;
  color: var(--text);
}

.print-sheet-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.print-sheet-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.print-sheet-preview-icon {
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
}

.print-sheet-preview-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.print-sheet-canvas {
  margin-top: 1rem;
}

.print-sheet-page {
  width: min(100%, 794px);
  min-height: 1123px;
  margin: 0 auto;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(18, 49, 63, 0.08);
}

.print-sheet-cards {
  display: grid;
  gap: 1rem;
}

.print-sheet-page .merchant-card-printable,
.print-sheet-canvas .merchant-card-printable {
  grid-template-columns: 150px minmax(0, 1fr) 120px;
  max-width: none;
}

.print-sheet-page .merchant-card-photo,
.print-sheet-canvas .merchant-card-photo {
  min-height: 200px;
}

.print-sheet-page .merchant-card-qr-column,
.print-sheet-canvas .merchant-card-qr-column {
  padding-left: 0.5rem;
  border-left: 1px solid var(--border);
  border-top: 0;
  padding-top: 0;
}

.print-sheet-page .merchant-card-content,
.print-sheet-canvas .merchant-card-content {
  gap: 0.65rem;
}

.print-sheet-page .merchant-card-header h3,
.print-sheet-canvas .merchant-card-header h3 {
  font-size: 1.05rem;
}

.print-sheet-page .merchant-card-meta,
.print-sheet-canvas .merchant-card-meta {
  gap: 0.35rem;
}

.print-sheet-page .merchant-card-meta p,
.print-sheet-canvas .merchant-card-meta p {
  font-size: 0.95rem;
}

.print-sheet-page .merchant-price input,
.print-sheet-canvas .merchant-price input,
.print-sheet-page .merchant-price-readonly input,
.print-sheet-canvas .merchant-price-readonly input {
  padding: 0.6rem 0.75rem;
}

.print-sheet-page .merchant-card-qr-column,
.print-sheet-canvas .merchant-card-qr-column {
  gap: 0.45rem;
}

.print-sheet-page .qr-code-box img,
.print-sheet-canvas .qr-code-box img {
  max-width: 96px;
}

.print-sheet-page .merchant-qr-caption,
.print-sheet-canvas .merchant-qr-caption {
  font-size: 0.9rem;
}

.print-sheet-page .merchant-brand,
.print-sheet-canvas .merchant-brand {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: none;
  word-break: break-word;
}

.merchant-card-sheet-item {
  max-width: none;
  margin-top: 0;
  break-inside: avoid;
  page-break-inside: avoid;
}

.merchant-footer {
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
}

@media (min-width: 761px) {
  .home-hero {
    padding: 2.8rem 1.5rem 3rem;
    text-align: center;
  }

  .home-shell {
    margin-top: 1.25rem;
    padding-inline: 1.5rem;
  }

  .section-heading {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .home-cluster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-start-grid,
  .home-content-grid,
  .home-faq-grid,
  .home-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-dual-grid,
  .home-member-cta,
  .home-content-grid-guides {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .home-cluster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-tools-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .home-shell {
    margin-top: 0.85rem;
    padding-inline: 0.85rem;
  }

  .auth-grid,
  .form-grid,
  .summary-grid,
  .feature-grid,
  .steps-grid,
  .fish-grid,
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filters-card {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 30;
    width: min(88vw, 360px);
    height: 90vh;
    margin: 0;
    border-radius: 0 20px 20px 0;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 180ms ease;
    box-shadow: 0 24px 48px rgba(18, 49, 63, 0.18);
  }

  .filters-card.mobile-open {
    transform: translateX(0);
  }

  .filters-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0;
    background: white;
    color: var(--primary);
    border: 1px solid var(--border);
    box-shadow: none;
  }

  .filters-close-btn:hover {
    transform: none;
    box-shadow: none;
    background: #eef9fc;
  }

  .filters-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 29;
    background: rgba(18, 49, 63, 0.35);
  }

  body.filters-drawer-open {
    overflow: hidden;
  }

  .top-nav {
    justify-content: flex-start;
    padding: 0.85rem 1rem;
    box-shadow: rgba(0, 0, 0, 0.247) 0px 0px 3px 0px;
  }

  .top-nav-mobile-bar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .top-nav-search-host-mobile {
    display: flex;
    flex: 1;
    min-width: 0;
    justify-content: center;
  }

  .top-nav-search-host-desktop {
    display: none;
  }

  .top-nav-brand {
    display: block;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.2;
    padding: 0 0.5rem;
  }

  .top-nav-search-host-mobile.search-active {
    position: static;
  }

  .top-nav-search-host-mobile .top-nav-search-form {
    width: 100%;
  }

  .top-nav-search-host-mobile .top-nav-search-suggestions {
    width: calc(100vw - 2rem);
    top: calc(100% + 0.6rem);
  }

  .top-nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .top-nav.menu-open .top-nav-links {
    display: flex;
  }

  .top-nav.menu-open .nav-menu-btn span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .top-nav.menu-open .nav-menu-btn span:nth-child(2) {
    opacity: 0;
  }

  .top-nav.menu-open .nav-menu-btn span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .top-nav-links a {
    text-align: center;
  }

  .top-nav-item,
  .top-nav-item-parent,
  .top-nav-parent-button {
    width: 100%;
  }

  .top-nav-parent-button {
    justify-content: center;
  }

  .top-nav-submenu {
    position: static;
    left: auto;
    transform: none;
    min-width: 0;
    padding: 0.35rem 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .top-nav-submenu a,
  .top-nav-submenu a.active {
    text-align: center;
  }

  .catalog-results-header {
    padding: 1.1rem;
  }

  .plant-card-meta-grid {
    grid-template-columns: 1fr;
  }

  .nav-utility-btn,
  .nav-mobile-spacer {
    display: inline-flex;
  }

  .nav-mobile-spacer {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
  }

  .merchant-card-printable {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .print-sheet-page,
  .print-sheet-canvas {
    overflow-x: auto;
  }

  .print-sheet-page .merchant-card-printable,
  .print-sheet-canvas .merchant-card-printable {
    grid-template-columns: 150px minmax(0, 1fr) 120px;
    min-width: 0;
  }

  .print-sheet-page {
    min-height: auto;
    padding: 1rem;
  }

  .merchant-card-photo {
    min-height: 180px;
  }

  .merchant-card-qr-column {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
  }

  .print-sheet-page .merchant-card-photo,
  .print-sheet-canvas .merchant-card-photo {
    min-height: 180px;
  }

  .print-sheet-page .merchant-card-qr-column,
  .print-sheet-canvas .merchant-card-qr-column {
    padding-left: 0.5rem;
    border-left: 1px solid var(--border);
    border-top: 0;
    padding-top: 0;
  }
}

@media print {
  body {
    background: white;
  }

  body.print-sheet-mode .top-nav,
  body.print-sheet-mode .hero,
  body.print-sheet-mode .filters-card,
  body.print-sheet-mode #fishCards,
  body.print-sheet-mode #merchantCard,
  body.print-sheet-mode footer,
  body.print-sheet-mode .print-sheet-toolbar {
    display: none !important;
  }

  .top-nav,
  .card:not(.merchant-card) {
    display: none;
  }

  body.print-sheet-mode main,
  body.print-sheet-mode .catalog-results,
  body.print-sheet-mode #printSheetSection,
  body.print-sheet-mode .print-sheet-canvas,
  body.print-sheet-mode .print-sheet-page {
    display: block !important;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1rem;
    border: 0;
    box-shadow: none;
    background: white;
  }

  body.print-sheet-mode .print-sheet-cards {
    gap: 0.6rem;
  }

  body.print-sheet-mode .merchant-card-printable {
    width: 100%;
    max-width: none;
    margin-top: 0;
    border: 1px solid var(--border);
    box-shadow: none;
    background: #f7fdff;
    grid-template-columns: 150px minmax(0, 1fr) 120px !important;
  }

  body.print-sheet-mode .merchant-card-photo {
    min-height: 200px;
  }

  body.print-sheet-mode .merchant-card-qr-column {
    padding-left: 0.5rem;
    border-left: 1px solid var(--border);
    border-top: 0;
    padding-top: 0;
  }
}