/* #region page */
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #292929;
  font-size: 16px;
  line-height: 140%;
}
html {
  scroll-behavior: smooth;
}
/* #endregion */

/* #region header */
.header {
  display: flex;
  /* display: none; */
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  height: 100vh;
  padding: 64px 120px;
  background-image: url('images\ /header-bg.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 1024px) {
  .header {
    padding: 64px 72px;
    background-image: url('images\ /header-bg-medium.png');
  }
}

@media (max-width: 576px) {
  .header {
    padding: 32px 20px;
    background-position: 0 0;
  }
}

.header__top {
  display: flex;
  justify-content: space-between;
}

.header__title {
  margin-top: 40px;
  margin-bottom: 0;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: -1.5px;
  font-style: italic;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .header__title {
    font-size: 40px;
  }
}

@media (max-width: 576px) {
  .header__title {
    font-size: 32px;
  }
}
/* #endregion */

/* #region menu */

.menu {
  /* display: none; */

  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  transform: translateX(-100%);
  transition: transform 500ms;

  box-sizing: border-box;
  height: 100vh;
  padding: 64px 120px;
  background: #E8EFF9;
}

@media (max-width: 1024px) {
  .menu {
    padding: 64px 72px;
  }
}

@media (max-width: 576px) {
  .menu {
    padding: 32px 20px;
  }
}

.menu:target {
  transform: translateX(-0%);
}

.menu__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 64px;
}

@media (max-width: 576px) {
  .menu__top {
    margin-bottom: 36px;
  }
}

/* #endregion */

/* #region nav */
.nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nav__link {
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-size: 22px;
  line-height: 22px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #292929;
}

/* #endregion */

/* #region main */
.main {
  padding: 120px;
  background-color: #fff;
}

@media (max-width: 1024px) {
  .main {
    padding: 120px 72px;
  }
}

@media (max-width: 576px) {
  .main {
    padding: 120px 20px;
  }
}
/* #endregion */

/* #region recommended */
.recommended {
  margin-bottom: 120px;
}

.recommended__title {
  margin-top: 0;
  margin-bottom: 64px;
  font-size: 48px;
  line-height: 100%;
  font-weight: bold;
  text-align: center;
  letter-spacing: -1.5px;
}

.recommended__products {
  display: flex;
  justify-content: center;
  gap: 24px;
}

@media (max-width: 1024px) {
  .recommended__products {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .recommended__products {
    align-items: stretch;
  }
}

/* #endregion */

/* #region product */
.product {
  flex-basis: 324px;
}

.product__photo {
  width: 100%;
  margin-bottom: 32px;
}

.product__title {
  margin-top: 0;
  margin-bottom: 8px;
}

.product__category {
  margin-top: 0;
  margin-bottom: 12px;
}

.product__price {
  margin: 0;
  font-weight: bold;
}
/* #endregion */

/* #region categories */
.categories {
  max-width: 1020px;
  margin: 0 auto;
  margin-bottom: 120px;
}

.categories__title {
  margin-top: 0;
  margin-bottom: 64px;
  font-size: 48px;
  font-weight: bold;
  line-height: 100%;
  letter-spacing: -1.5px;
  text-align: center;
}

.category {
  margin-bottom: 64px;
}

.category__photos {
  display: flex;
  gap: 3%;
  margin-bottom: 16px;
}

.category__title {
  margin: 0;
}
/* #endregion */

/* #region photo */
.photo-wide {
  width: 65%;
  object-fit: cover;
}

.photo-square {
  width: 32%;
  object-fit: cover;
}

@media (max-width: 576px) {
  .photo-wide {
    width: 48.5%;
  }

  .photo-square {
    width: 48.5%;
  }
}
/* #endregion */

/* #region howToBuy */
.how-to-buy {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
}

@media (max-width: 576px) {
  .how-to-buy {
    display: block;
  }
}

.how-to-buy__title {
  flex-basis: 50%;
  margin-top: 0;
  margin-top: 0;
  margin-bottom: 64px;
  font-size: 48px;
  font-weight: bold;
  line-height: 100%;
  letter-spacing: -1.5px;
}

@media (max-width: 576px) {
  .how-to-buy__title {
    margin-bottom: 32px;
  }
}

.how-to-buy__content {
  flex-basis: 50%;
}

.how-to-buy__benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 40px;
  font-weight: bold;
}

@media (max-width: 576px) {
  .how-to-buy__title {
    margin-bottom: 40px;
  }
}
/* #endregion */

/* #region footer */

.footer {
  position: sticky;
  bottom: 0;
  z-index: -1;
  height: 460px;
  background-image: url('images\ /footer-bg.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
/* #endregion */

/* #region logo */
.logo {
  height: 24px;
}

@media (max-width: 576px) {
  .logo {
    height: 16px;
  }
}
/* #endregion */