@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins_n4.0ba78fa5af9b0e1a374041b3ceaadf0a43b41362.woff2') format('woff2');
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins_n7.56758dcf284489feb014a026f3727f2f20a54626.woff2') format('woff2');
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: #171717;
  background: #fff;
  font-family: Poppins, Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
}

.page-width {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 190px 1fr 44px;
  align-items: center;
  min-height: 78px;
  gap: 36px;
}

.site-logo {
  display: block;
  width: 140px;
}

.site-logo img {
  display: block;
  width: 140px;
  height: auto;
}

.desktop-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-navigation a,
.mobile-navigation a {
  color: #171717;
  text-decoration: none;
}

.desktop-navigation a:hover,
.desktop-navigation a[aria-current='page'] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.desktop-shop {
  position: relative;
}

.desktop-shop summary {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  list-style: none;
}

.desktop-shop summary::-webkit-details-marker {
  display: none;
}

.desktop-shop summary svg {
  width: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.desktop-shop__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -20px;
  display: grid;
  width: 300px;
  padding: 10px 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.desktop-shop__menu a {
  padding: 9px 20px;
}

.site-cart {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #171717;
}

.site-cart svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3px;
}

.mobile-navigation {
  display: none;
}

.about-main {
  display: grid;
  align-items: center;
  min-height: 290px;
  padding: 70px 0;
  text-align: center;
}

.about-main h1 {
  margin: 0;
  color: #111;
  font-size: clamp(3.2rem, 5vw, 5rem);
  line-height: 1.15;
}

.site-footer {
  color: #fff;
  background: #1a2b49;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.05fr 2fr 1.25fr 1.25fr;
  gap: 44px 34px;
  padding-top: 54px;
  padding-bottom: 44px;
}

.site-footer__brand img {
  display: block;
  width: 145px;
  height: auto;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 2rem;
  line-height: 1.3;
}

.site-footer p {
  margin: 0 0 14px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__newsletter {
  grid-column: span 2;
}

.site-footer__newsletter form {
  display: grid;
  gap: 9px;
  max-width: 390px;
}

.site-footer__newsletter input,
.site-footer__newsletter button {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 6px;
  font: inherit;
}

.site-footer__newsletter input {
  color: #fff;
  background: transparent;
  border: 1px solid #8290a8;
}

.site-footer__newsletter input::placeholder {
  color: #fff;
  opacity: 0.9;
}

.site-footer__newsletter button {
  color: #111;
  background: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.site-footer__nav {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 9px;
}

.site-footer__contact {
  grid-column: span 2;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-top: 25px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.payment-methods span {
  padding: 3px 7px;
  color: #1a2b49;
  background: #fff;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
}

@media (max-width: 989px) {
  .page-width {
    width: min(100% - 36px, 760px);
  }

  .site-header__inner {
    grid-template-columns: 44px 1fr 44px;
    min-height: 66px;
    gap: 12px;
  }

  .site-logo {
    justify-self: center;
    width: 110px;
  }

  .site-logo img {
    width: 110px;
  }

  .desktop-navigation {
    display: none;
  }

  .mobile-navigation {
    display: block;
  }

  .mobile-navigation summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-navigation summary::-webkit-details-marker {
    display: none;
  }

  .mobile-navigation summary svg {
    width: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
  }

  .mobile-navigation__panel {
    position: absolute;
    top: 66px;
    left: 0;
    display: grid;
    width: min(320px, 90vw);
    padding: 20px 28px 28px;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  }

  .mobile-navigation__panel a {
    padding: 11px 0;
    border-bottom: 1px solid #eee;
  }

  .site-footer__top {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__newsletter,
  .site-footer__contact {
    grid-column: auto;
  }
}

@media (max-width: 599px) {
  .about-main {
    min-height: 210px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .site-footer__newsletter,
  .site-footer__contact {
    grid-column: auto;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
