:root {
  --page-bg: #ffffff;
  --text: #111318;
  --accent: #f2d0a3;
  --hairline: rgba(17, 19, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page-bg);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  display: block;
  width: 100%;
  height: 10px;
  background: var(--accent);
  border-bottom: 1px solid rgba(17, 19, 24, 0.2);
  content: "";
}

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--hairline);
  background: #ffffff;
}

.product-nav {
  width: min(100%, 760px);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 30px;
  padding: 12px 20px;
}

.product-link {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  color: var(--text);
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.product-link:hover,
.product-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.product-link-active {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.site-main {
  min-height: calc(100vh - 95px);
}

@media (max-width: 520px) {
  .site-header {
    min-height: 92px;
  }

  .product-nav {
    gap: 10px 18px;
    padding: 12px 14px;
  }

  .product-link {
    font-size: 15px;
  }
}
