:root {
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  color: #213b2c;
  background: #fafbf7;
  font-synthesis: none;
  line-height: 1.6;
  --green: #246447;
  --line: #dfe6db;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--green);
  text-underline-offset: 3px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #df9d28;
  outline-offset: 3px;
}
.topline {
  background: #234a34;
  color: #fff;
  text-align: center;
  padding: 7px 16px;
  font-size: 13px;
}
.header {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  padding: 20px 4%;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 25px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.header nav,
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.header nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.container {
  max-width: 1320px;
  margin: auto;
  padding: 24px;
}
.hero {
  background: #edf3e6;
  border: 1px solid #d6e3c8;
  border-radius: 20px;
  padding: 50px;
  margin-bottom: 40px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.13;
  letter-spacing: -2px;
  margin: 16px 0;
}
.hero p {
  max-width: 580px;
  font-size: 18px;
}
.eyebrow {
  font-size: 12px !important;
  letter-spacing: 2px;
  font-weight: 700;
  color: #547d4b;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.button,
button.secondary {
  display: inline-block;
  border: 1px solid var(--green);
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  padding: 10px 17px;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  margin: 5px 0;
}
.secondary {
  background: #fff !important;
  color: var(--green) !important;
}
h1 {
  line-height: 1.2;
  font-size: clamp(28px, 4vw, 40px);
}
h2 {
  font-size: 24px;
  margin-top: 32px;
}
h3 {
  font-size: 18px;
}
section {
  min-width: 0;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 26px;
}
.chips a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 7px 15px;
  text-decoration: none;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  margin-top: 22px;
}
.filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  align-self: start;
}
.filters h2 {
  margin-top: 0;
  font-size: 20px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}
input,
select {
  display: block;
  width: 100%;
  border: 1px solid #b9c9b8;
  border-radius: 6px;
  padding: 9px;
  background: #fff;
  color: #203829;
  min-width: 0;
}
input[type='checkbox'] {
  width: auto;
  display: inline-block;
  accent-color: var(--green);
}
label.check {
  display: flex;
  gap: 9px;
  align-items: center;
}
fieldset {
  border: 1px solid var(--line);
  padding: 12px;
  margin: 12px 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 20px;
}
.card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 440px;
}
.card-photo {
  display: block;
  overflow: hidden;
  background: #edf1e7;
}
.card-photo img,
.placeholder {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain;
}
.placeholder {
  display: grid;
  place-content: center;
  color: #687a65;
  font-size: 13px;
  padding: 15px;
  text-align: center;
}
.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-title {
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.35;
}
.card-body p {
  font-size: 14px;
}
.card-body .button {
  margin-top: auto;
}
.price {
  font-size: 23px;
  font-weight: 750;
}
.price small {
  font-size: 13px;
  font-weight: 400;
}
.muted {
  color: #52634f;
  font-size: 13px;
}
.seller-link,
.sub-link {
  display: block;
  margin: 4px 0 12px;
  font-size: 14px;
}
.empty {
  background: #edf2e7;
  border: 1px dashed #b9cbae;
  border-radius: 10px;
  padding: 32px;
  margin: 16px 0;
}
.pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}
.pagination a,
.pagination span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
}
.pagination [aria-current] {
  background: var(--green);
  color: #fff;
}
.breadcrumbs {
  font-size: 13px;
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px;
  margin: 20px 0;
}
.gallery > img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.thumbnails img {
  width: 80px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
}
.attributes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  font-size: 15px;
}
.attributes dt,
.attributes dd {
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 10px;
}
.attributes dt {
  font-weight: 600;
}
.review {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 10px;
  margin: 16px 0;
}
.match {
  color: #4b692c;
  font-weight: 600;
}
.prose {
  white-space: pre-line;
  overflow-wrap: anywhere;
  max-width: 80ch;
}
.result-count {
  margin-top: 0;
  color: #52634f;
}
.footer {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  font-size: 14px;
  padding-bottom: 40px;
}
.notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #193a29;
  color: #fff;
  padding: 16px 25px;
  border-radius: 9px;
  max-width: 90%;
  z-index: 10;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 10px;
  top: 10px;
  z-index: 20;
  background: #fff;
  padding: 12px;
}
dialog {
  border: 0;
  border-radius: 12px;
  max-width: 95vw;
  max-height: 95vh;
  padding: 15px;
}
dialog::backdrop {
  background: #000b;
}
dialog img {
  display: block;
  max-width: 85vw;
  max-height: 78vh;
  object-fit: contain;
}
dialog button {
  display: block;
  margin-left: auto;
}
.detail form {
  max-width: 260px;
}
@media (max-width: 850px) {
  .header {
    flex-direction: column;
    gap: 12px;
  }
  .header nav {
    justify-content: center;
    gap: 12px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .filters h2,
  .filters .muted {
    grid-column: 1/-1;
  }
  .filters label {
    margin: 0;
  }
  .detail {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 28px;
  }
  .container {
    padding: 18px;
  }
  .footer {
    display: block;
  }
  .footer nav {
    margin-top: 14px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .button:hover {
    filter: brightness(0.94);
  }
}
.shop-brand {
  border-radius: 12px;
  background: #edf3e6;
  padding: 18px;
  overflow: hidden;
  margin-bottom: 24px;
}
.shop-brand-forest {
  background: #deebe1;
}
.shop-brand-botanica {
  background: #f2e7ee;
}
.shop-brand-inventory {
  background: #eee8dc;
}
.shop-brand-agro {
  background: #e8eed6;
}
.shop-logo {
  object-fit: contain;
  border-radius: 10px;
}
.shop-banner {
  display: block;
  width: 100%;
  height: clamp(140px, 25vw, 360px);
  object-fit: cover;
  border-radius: 8px;
}
.detail > .gallery > .placeholder {
  max-height: 360px;
  background: #edf1e7;
  border-radius: 12px;
}
.shop-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
  margin: 24px 0;
}
.shop-panels figure {
  margin: 0;
}
.shop-panels img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.category-card {
  color: var(--green);
  text-decoration: none;
}
.category-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.category-card strong {
  padding: 14px;
}
.consent {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 600px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 30px #0002;
  z-index: 9;
}
.consent-settings {
  display: block;
  margin: 0 auto 24px;
  background: none;
  border: 0;
  text-decoration: underline;
  color: var(--green);
  font-size: 13px;
}
