:root {
  --bg: #f5f7f2;
  --bg-strong: #e9efe5;
  --surface: #ffffff;
  --surface-muted: #f0f4ec;
  --line: #d7dfd0;
  --text: #172018;
  --muted: #5d6758;
  --green: #2f7d32;
  --green-soft: #e4f1df;
  --orange: #e85d04;
  --teal: #0f766e;
  --shadow: 0 18px 40px rgba(23, 32, 24, 0.08);
  --radius: 8px;
  --wrap: min(1180px, calc(100vw - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(47, 125, 50, 0.08), transparent 18%),
    linear-gradient(180deg, var(--bg) 0%, #eef2ea 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

img {
  display: block;
  width: 100%;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-notice {
  background: linear-gradient(90deg, var(--orange), #f08a1c);
  color: #fff;
}

.site-notice-row {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 0;
  text-align: center;
  font-size: 0.96rem;
  font-weight: 700;
}

.site-notice-row a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(245, 247, 242, 0.88);
  border-bottom: 1px solid rgba(215, 223, 208, 0.9);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.88rem;
}

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

.site-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.cart-button:hover,
.cart-button:focus-visible,
.chip:hover,
.chip:focus-visible,
.quick-link:hover,
.quick-link:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible,
.primary-button:hover,
.primary-button:focus-visible,
.product-button:hover,
.product-button:focus-visible,
.icon-button:hover,
.icon-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.cart-button,
.primary-button,
.product-button,
.ghost-button,
.icon-button,
.quick-link,
.chip {
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.cart-badge {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.85rem;
}

.intro-band {
  padding: 36px 0 28px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 44%, rgba(255, 255, 255, 0.24) 100%),
    linear-gradient(180deg, rgba(47, 125, 50, 0.12), rgba(15, 118, 110, 0.08));
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.intro-copy {
  padding: 22px 0;
}

.intro-copy h1,
.service-grid h2,
.contact-grid h2 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.08;
}

.intro-text {
  max-width: 60ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.benefit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.benefit-row span {
  padding: 10px 12px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.intro-media {
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-media img {
  height: 100%;
  object-fit: cover;
}

.catalog-section {
  padding: 18px 0 54px;
}

.catalog-topbar {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(0, 1.5fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.search-field input,
.sort-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
}

.search-field input {
  padding: 0 14px;
}

.search-field input::placeholder {
  color: #7b8675;
}

.sort-field {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.sort-field select {
  padding: 0 38px 0 14px;
}

.chip-row,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip,
.quick-link,
.ghost-button,
.icon-button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.chip {
  padding: 12px 14px;
  font-weight: 700;
}

.chip.is-active,
.quick-link.is-active {
  border-color: rgba(47, 125, 50, 0.36);
  background: var(--green-soft);
  color: var(--green);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}

.sidebar-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.sidebar-highlight {
  background: linear-gradient(135deg, rgba(47, 125, 50, 0.1), rgba(232, 93, 4, 0.12));
}

.sidebar-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
}

.sidebar-text,
.sidebar-list {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.sidebar-list {
  padding-left: 18px;
}

.product-area {
  min-width: 0;
}

.results-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.results-copy {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.ghost-button {
  padding: 11px 14px;
}

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

.product-card {
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-image-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-muted);
}

.product-image {
  height: 100%;
  object-fit: cover;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.product-category {
  color: var(--teal);
}

.product-stock {
  color: var(--green);
}

.product-title {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.28;
}

.product-description {
  margin: 0;
  min-height: 66px;
  color: var(--muted);
  line-height: 1.55;
}

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-list span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.product-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.price-group {
  display: grid;
  gap: 3px;
}

.price-group strong {
  font-size: 1.38rem;
}

.price-group span {
  color: var(--muted);
  font-size: 0.86rem;
}

.product-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.empty-state {
  padding: 34px 0 0;
}

.empty-state h2 {
  margin: 0;
  font-size: 1.3rem;
}

.empty-state p {
  margin: 10px 0 0;
  color: var(--muted);
}

.service-band,
.contact-band {
  padding: 56px 0;
}

.service-band {
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(15, 118, 110, 0.03));
}

.contact-band {
  background: linear-gradient(180deg, rgba(232, 93, 4, 0.06), rgba(232, 93, 4, 0.02));
}

.service-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.service-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-points article {
  padding: 18px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.service-points h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.service-points p,
.contact-actions p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-actions {
  display: grid;
  gap: 12px;
  align-content: start;
}

.contact-actions a {
  font-size: 1.18rem;
  font-weight: 800;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  width: min(420px, 100vw);
  height: 100vh;
  padding: 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  background: var(--surface);
  box-shadow: -18px 0 40px rgba(23, 32, 24, 0.14);
}

.cart-header,
.cart-total,
.cart-item-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.cart-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
}

.cart-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.cart-item-name {
  margin: 0;
  font-weight: 800;
}

.cart-item-meta,
.cart-empty {
  margin: 8px 0 0;
  color: var(--muted);
}

.cart-item-remove {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--orange);
  font-weight: 800;
  cursor: pointer;
}

.cart-footer {
  display: grid;
  gap: 14px;
}

.cart-total span {
  color: var(--muted);
  font-weight: 700;
}

.cart-total strong {
  font-size: 1.5rem;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(23, 32, 24, 0.34);
}

body.is-cart-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .header-row,
  .catalog-topbar,
  .catalog-layout,
  .intro-grid,
  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .header-row {
    display: grid;
    padding: 14px 0;
  }

  .site-nav {
    margin-left: 0;
    flex-wrap: wrap;
  }

  .catalog-sidebar {
    position: static;
  }

  .intro-copy {
    padding: 0;
  }

  .intro-media {
    min-height: 260px;
    order: -1;
  }

  .cart-button {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-notice-row {
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
  }

  .intro-copy h1,
  .service-grid h2,
  .contact-grid h2 {
    font-size: 1.9rem;
  }

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

  .product-description {
    min-height: auto;
  }

  .product-footer,
  .results-row {
    align-items: start;
    flex-direction: column;
  }

  .benefit-row,
  .chip-row,
  .quick-links {
    gap: 8px;
  }

  .service-band,
  .contact-band {
    padding: 42px 0;
  }
}
