@import url("https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;700;800&display=swap");

:root {
  --max: 1080px;
  --pad-x: 20px;
  font-family: "Golos Text", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #000;
  font-size: 17px;
  line-height: 1.5;
  text-transform: lowercase;
}

a { color: #000; }

.layout {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.nav-shell {
  position: relative;
  flex-shrink: 0;
}

.nav-shell::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  border-bottom: 1px solid #000;
}

.nav {
  padding-block: 22px;
  display: flex;
  gap: 28px;
  align-items: baseline;
}

.nav__brand {
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-shrink: 0;
}

.nav__brand span:first-child {
  font-size: 15px;
  font-weight: 400;
}

.nav__links,
.nav__socials {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 15px;
}

.nav__socials {
  margin-left: auto;
}

.nav__links a[aria-current="page"] { font-weight: 800; }

.page,
.hero {
  flex: 1;
  padding-block: 32px 64px;
}

.page__title,
.hero__title {
  margin: 0 0 8px;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.05;
}

.hero__title {
  font-size: 72px;
  line-height: 0.95;
  margin-bottom: 24px;
}

.page__subtitle,
.hero__lead,
.hero__address {
  margin: 0 0 28px;
  font-size: 18px;
  font-weight: 400;
}

.hero__address {
  font-weight: 700;
}

.hero__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 28px;
  font-size: 15px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: 32px;
  align-items: start;
}

.hero__photo,
.card__photo {
  display: block;
  max-width: 100%;
  height: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px 20px;
  align-items: start;
}

.card {
  display: grid;
  gap: 10px;
}

.card__body {
  display: grid;
  gap: 6px;
}

.card__name,
.card__price {
  font-weight: 800;
}

.card__name {
  font-size: 20px;
  line-height: 1.15;
}

.card__desc,
.card__sizes,
.card__measure {
  font-size: 15px;
  font-weight: 400;
}

.card__price {
  font-size: 18px;
}

.card__foot {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.card__sizes {
  display: grid;
  gap: 2px;
}

.card__price-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.cat__title {
  margin: 48px 0 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid #000;
  font-size: 28px;
  font-weight: 800;
}

#menu section:first-child .cat__title {
  margin-top: 24px;
}

.form {
  max-width: 520px;
  display: grid;
  gap: 16px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
}

.form input,
.form textarea,
.btn {
  font: inherit;
  color: #000;
  background: #fff;
  border: 1px solid #000;
  padding: 10px;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form .honeypot {
  position: absolute;
  left: -9999px;
}

.btn {
  width: fit-content;
  cursor: pointer;
}

.btn:disabled {
  opacity: 0.5;
  cursor: default;
}

.form__status {
  min-height: 1.4em;
}

.state {
  padding: 32px 0;
}

.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.form__consent input {
  margin-top: 3px;
  flex-shrink: 0;
}

#site-footer {
  flex-shrink: 0;
  margin-top: auto;
}

.site-footer {
  border-top: 1px solid #e8e8e8;
  color: #b3b3b3;
}

.site-footer__inner {
  padding-block: 28px 48px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.site-footer__text {
  margin: 0;
}

.site-footer__text a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #d0d0d0;
}

.legal__section {
  max-width: 680px;
  margin-bottom: 32px;
}

.legal__section h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
}

.legal__section p,
.legal__section ul {
  margin: 0 0 12px;
}

.legal__section ul {
  padding-left: 20px;
}

.legal__section li {
  margin-bottom: 6px;
}

@media (max-width: 720px) {
  .hero {
    display: block;
  }

  .nav {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-start;
    gap: 12px 16px;
  }

  .nav__brand {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    white-space: nowrap;
  }

  .nav__links {
    grid-column: 1;
    margin-top: 0;
  }

  .nav__socials {
    grid-column: 2;
    margin-left: 0;
    justify-content: flex-end;
  }

  .hero__photo {
    margin-top: 24px;
  }

  .hero__title {
    font-size: 48px;
  }
}
