:root {
  --brand-ink: #263128;
  --brand-active: #344437;
  --brand-focus: #805036;
  --brand-rule: #cfd4c8;
}

body { font-family: "Golos Text", Arial, sans-serif; }
h1, h2, h3 { text-wrap: balance; }
p, li { overflow-wrap: break-word; }

.top { background-color: var(--paper); border-bottom: 1px solid var(--brand-rule); }
.top .top-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 44px; }
.brand img { display: block; width: 154px; height: auto; object-fit: contain; }
.top .desktop-nav { display: flex; align-items: center; gap: clamp(12px, 2.25vw, 36px); }
.top .desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  position: relative;
  color: var(--brand-ink);
  font-weight: 500;
  font-size: .9375rem;
  line-height: 1.25;
  text-decoration: none;
}
.top .desktop-nav a[aria-current="page"] { color: var(--brand-active); font-weight: 500; text-decoration: none; }
.top .desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 150ms ease-out;
}
.top .desktop-nav a[aria-current="page"]::after,
.top .desktop-nav a:hover::after,
.top .desktop-nav a:focus-visible::after { transform: scaleX(1); }
.catalog-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 44px;
  padding: 0 .7rem;
  color: var(--brand-active);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 150ms ease;
}
.catalog-link::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background: linear-gradient(currentColor 0 0) 0 0 / 6px 6px,
              linear-gradient(currentColor 0 0) 100% 0 / 6px 6px,
              linear-gradient(currentColor 0 0) 0 100% / 6px 6px,
              linear-gradient(currentColor 0 0) 100% 100% / 6px 6px;
  background-repeat: no-repeat;
}
.catalog-link:hover,
.catalog-link:focus-visible { background-color: #e3e7dc; }
@media (prefers-reduced-motion: reduce) {
  .top .desktop-nav a::after, .catalog-link { transition: none; }
}
:where(a, button, input, select, summary):focus-visible {
  outline: 3px solid var(--brand-focus);
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .brand img { width: 133px; }
}

