:root {
  --forest: #234b3a;
  --forest-2: #17362c;
  --leaf: #7f9b72;
  --lime: #dce8d7;
  --clay: #c88c49;
  --sand: #f3ecdf;
  --paper: #fbfaf5;
  --white: #ffffff;
  --ink: #20251f;
  --muted: #667065;
  --line: #e3ded2;
  --shadow: 0 22px 70px rgba(29, 46, 37, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 250, 245, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.service {
  padding: 8px 20px;
  text-align: center;
  color: var(--white);
  background: var(--forest);
  font-size: 14px;
  font-weight: 700;
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 18px clamp(18px, 5vw, 72px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--forest);
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  color: #445044;
  font-weight: 800;
}

.hero {
  min-height: 76vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  align-items: stretch;
  background:
    radial-gradient(circle at 10% 10%, rgba(200, 140, 73, 0.16), transparent 28%),
    linear-gradient(135deg, var(--sand), #eef4e9);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 108px) clamp(22px, 6vw, 84px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 660px;
  margin: 0;
  color: var(--forest);
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.94;
}

h2 {
  margin: 0;
  color: var(--forest);
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1;
}

h3 {
  margin: 0 0 8px;
  color: var(--forest);
  font-size: 22px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 610px;
  margin: 24px 0 0;
  color: #4d5a50;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button,
.small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--forest);
  cursor: pointer;
  font-weight: 900;
}

.button {
  min-height: 50px;
  padding: 0 22px;
}

.small-button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--forest);
  background: var(--white);
}

.button.primary {
  color: var(--white);
  background: var(--forest);
}

.button.ghost {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.7);
}

.hero-media {
  display: grid;
  place-items: center;
  min-height: 480px;
  padding: clamp(28px, 5vw, 70px);
  overflow: hidden;
}

.hero-media img {
  width: min(100%, 760px);
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 36px 70px rgba(35, 75, 58, 0.2);
}

.collection-strip {
  scroll-margin-top: 116px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.collection-tile {
  min-height: 86px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--forest);
  background: var(--white);
  cursor: pointer;
  font-size: 19px;
  font-weight: 900;
}

.collection-tile:last-child {
  border-right: 0;
}

.collection-tile.active,
.collection-tile:hover {
  color: var(--white);
  background: var(--forest);
}

.promo-banner {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(34px, 5vw, 58px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(200, 140, 73, 0.18), transparent 28%),
    linear-gradient(135deg, var(--forest-2), #244d3c);
  color: var(--white);
}

.promo-banner h2 {
  color: var(--white);
}

.promo-photo {
  min-height: 260px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 20px 52px rgba(8, 20, 15, 0.18);
}

.promo-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 340px;
  object-fit: cover;
}

.promo-copy {
  max-width: 640px;
}

.promo-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.footer p,
.footer span {
  color: rgba(255, 255, 255, 0.72);
}

.catalog {
  padding: clamp(54px, 7vw, 92px) clamp(20px, 5vw, 72px);
}

.catalog-head {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(300px, 1.2fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 22px;
}

.tools {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 0.7fr);
  gap: 12px;
}

.search,
.select {
  position: relative;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.search input,
.select select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(36, 55, 44, 0.14);
}

.suggestion-item {
  display: grid;
  width: 100%;
  gap: 3px;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  text-align: left;
}

.suggestion-item:last-child {
  border-bottom: 0;
}

.suggestion-item:hover {
  background: var(--lime);
}

.suggestion-item span {
  color: var(--forest);
  font-weight: 900;
}

.suggestion-item small {
  color: var(--muted);
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--muted);
}

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

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.product-card {
  display: grid;
  grid-template-rows: 260px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(36, 55, 44, 0.06);
}

.product-media {
  display: grid;
  place-items: center;
  padding: 18px;
  background: #f6f4ee;
  cursor: pointer;
}

.product-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.product-kicker {
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-title {
  display: block;
  color: var(--forest);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
  text-align: left;
}

.card-actions {
  display: block;
}

.card-actions .button {
  width: 100%;
}

.product-info {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.price-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--forest);
  background: var(--lime);
  font-size: 13px;
  font-weight: 900;
}

.product-dialog {
  width: min(1120px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-dialog::backdrop {
  background: rgba(18, 28, 23, 0.58);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--forest);
  background: var(--white);
  cursor: pointer;
  font-size: 28px;
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: 30px;
  padding: clamp(20px, 4vw, 46px);
}

.dialog-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
}

.thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.thumbs button {
  width: 66px;
  height: 66px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.thumbs button.active {
  border-color: var(--forest);
}

.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dialog-content {
  align-self: center;
}

.dialog-sub {
  color: var(--muted);
}

.article-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 22px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.article-row strong {
  color: var(--ink);
}

.specs {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(0, 1.2fr);
  gap: 8px 16px;
  margin: 24px 0 0;
  color: var(--muted);
}

.specs dt {
  font-weight: 900;
  color: var(--ink);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 5vw, 72px);
  background: var(--forest-2);
  color: var(--white);
}

.footer div:last-child {
  display: grid;
  gap: 4px;
  text-align: right;
}

.product-page {
  padding: clamp(24px, 5vw, 72px);
}

.product-top {
  position: sticky;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--forest);
  font-weight: 800;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
}

.product-gallery {
  display: grid;
  gap: 14px;
}

.product-main-image {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  object-fit: contain;
}

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

.product-gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  object-fit: contain;
}

.product-gallery-grid img.active {
  border-color: var(--forest);
  box-shadow: 0 0 0 2px rgba(35, 75, 58, 0.16);
}

.product-seo-card {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(36, 55, 44, 0.08);
}

.product-copy {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(26px, 5vw, 68px);
  margin-top: clamp(42px, 6vw, 80px);
  padding-top: clamp(34px, 5vw, 60px);
  border-top: 1px solid var(--line);
}

.product-copy p {
  color: #4d5a50;
  font-size: 18px;
}

.product-description {
  max-width: 720px;
}

.product-description ul {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding-left: 20px;
  color: #4d5a50;
  font-size: 17px;
}

.product-description strong {
  color: var(--forest);
}

.product-specs {
  padding: 24px;
  border-radius: 10px;
  background: var(--white);
}

.not-found-hero {
  min-height: 68vh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: clamp(22px, 5vw, 68px);
  padding: clamp(42px, 7vw, 96px) clamp(20px, 6vw, 84px);
  background:
    radial-gradient(circle at 16% 14%, rgba(200, 140, 73, 0.18), transparent 30%),
    linear-gradient(135deg, var(--sand), #eef4e9);
}

.not-found-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 0;
  color: #4d5a50;
  font-size: clamp(18px, 2vw, 22px);
}

.not-found-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 34px 68px rgba(35, 75, 58, 0.2);
}

.not-found-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.not-found-links a {
  display: grid;
  gap: 6px;
  min-height: 126px;
  padding: 28px clamp(20px, 4vw, 42px);
  background: var(--white);
}

.not-found-links span {
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.not-found-links strong {
  color: var(--forest);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.08;
}

.click-dashboard {
  min-height: 78vh;
  padding: clamp(28px, 5vw, 72px);
  background:
    radial-gradient(circle at 12% 10%, rgba(200, 140, 73, 0.16), transparent 28%),
    linear-gradient(135deg, var(--sand), #eef4e9);
}

.click-login,
.click-stats {
  max-width: 1180px;
  margin: 0 auto;
}

.click-login {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.click-login h1,
.click-head h1 {
  font-size: clamp(42px, 6vw, 76px);
}

.click-login p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: #4d5a50;
  font-size: 20px;
}

.click-login-form {
  display: grid;
  gap: 10px;
  max-width: 620px;
  margin-top: 18px;
}

.click-login-form label {
  color: var(--forest);
  font-weight: 900;
}

.click-login-form div {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  gap: 10px;
}

.click-login-form input {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  background: var(--white);
}

.click-login-form small {
  min-height: 22px;
  color: var(--clay);
  font-weight: 800;
}

.click-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.click-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.click-summary article {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(36, 55, 44, 0.08);
}

.click-summary span {
  color: var(--muted);
  font-weight: 800;
}

.click-summary strong {
  color: var(--forest);
  font-size: 42px;
  line-height: 1;
}

.click-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.click-table-wrap h2 {
  padding: 22px 22px 0;
  font-size: clamp(24px, 3vw, 34px);
}

.click-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.click-table th,
.click-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.click-table th {
  color: var(--forest);
  font-size: 13px;
  text-transform: uppercase;
}

.click-table td {
  color: #4d5a50;
}

.click-table a {
  color: var(--forest);
  font-weight: 900;
}

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

@media (max-width: 860px) {
  .nav,
  .hero,
  .promo-banner,
  .catalog-head,
  .dialog-layout,
  .product-hero,
  .product-copy,
  .not-found-hero {
    grid-template-columns: 1fr;
  }

  .click-summary,
  .click-login-form div {
    grid-template-columns: 1fr;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

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

}

@media (max-width: 560px) {
  .collection-strip,
  .product-grid,
  .tools,
  .not-found-links {
    grid-template-columns: 1fr;
  }

  .brand {
    white-space: normal;
  }

  .footer,
  .catalog-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer div:last-child {
    text-align: left;
  }

  .button {
    width: 100%;
  }

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