@font-face {
  font-family: OpenSans;
  src: url(../fonts/OpenSans-Regular.woff2), url(../fonts/OpenSans-Regular.woff),
    url(../fonts/OpenSans-Regular.ttf);
  font-weight: normal;
}

@font-face {
  font-family: OpenSans;
  src: url(../fonts/OpenSans-Bold.woff2), url(../fonts/OpenSans-Bold.woff),
    url(../fonts/OpenSans-Bold.ttf);
  font-weight: bold;
}

/* reset styles css start */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
  font-weight: normal;
  font-family: OpenSans;
}

a:active,
a:focus {
  outline: none;
}

:invalid {
  box-shadow: none;
}

:-moz-submit-invalid {
  box-shadow: none;
}

:-moz-ui-invalid {
  box-shadow: none;
}

textarea, select {
  font: inherit;
}

/* reset styles css end */

.wrapper {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.visually-hidden {
  width: 1px;
  height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  left: 1px;
}

/* popup styles start */

.popup {
  background-color: #0000009f;
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  display: flex;
  display: none;
  justify-content: center;
  align-items: center;
}

.popup-wrapper {
  width: 390px;
}

.popup-close-form {
  position: relative;
}

.popup-close-button {
  padding: 0px;
  border: 0px;
  margin: 0px;
}

.close-button-btn::after {
  content: "";
  position: absolute;
  width: 23px;
  height: 3px;
  background-color: #ffffff;
  transform: rotate(45deg);
  top: 1px;
  right: 1px;
}

.close-button-btn::before {
  content: "";
  position: absolute;
  width: 23px;
  height: 3px;
  background-color: #ffffff;
  transform: rotate(-45deg);
  top: 1px;
  right: 1px;
}

.close-button-btn::after {
  content: "";
  position: absolute;
  width: 23px;
  height: 3px;
  background-color: #ffffff;
  transform: rotate(45deg);
  top: 1px;
  right: 1px;
}

.close-button-btn:hover::before, .close-button-btn:hover::after {
  background-color: #b59f5b;
}

.popup-form {
  background-color: #ffffff;
  padding: 46px 30px;
}

.popup-header {
  position: relative;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  font-size: 20px;
  margin-bottom: 35px;
}

.popup-header::before {
  content: "";
  position: absolute;
  background-color: #ede8d7;
  width: 66px;
  height: 3px;
  left: calc(50% - 33px);
  bottom: -13px;
}

.popup-description {
  font-size: 13px;
}

.popup-select-visit {
  width: 100%;
  height: 50px;
  padding-left: 10px;
  color: rgba(0, 0, 0, 0.453);
  font-size: 13px;
  background-color: #f4f7f6;
  background-image: url(../svg/form-arrows.svg);
  background-repeat: no-repeat;
  background-size: 10px;
  background-position: right 10px center;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  margin-top: 8px;
  margin-bottom: 30px;
}

.popup-select-visit:focus, .popup-select-visit:hover {
  outline: 1px solid #b59f5b;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.popup-radio-email {
  margin-top: 5px;
  margin-bottom: 27px;
}

.popup-radio {
  position: absolute;
  clip: rect(1px,1px,1px,1px);
  height: 1px;
  width: 1px;
}

.popup-radio-text {
  font-size: 13px;
  margin-right: 12px;
}

.popup-radio-text::before {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  content: "";
  width: 17px;
  height: 17px;
  background-image: url(../svg/form-empty-circle.svg);
  background-repeat: no-repeat;
  background-size: cover;
}

.popup-radio:checked + .popup-radio-text::before {
  background-image: url(../svg/form-circle.svg);
}

.popup-themes {
  font-size: 13px;
  min-width: 100%;
  max-width: 100%;
  min-height: 130px;
  max-height: 300px;
  margin-top: 7px;
  margin-bottom: 21px;
  padding: 22px;
  background-color: #f4f7f6;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
}

.popup-themes::placeholder {
  font-family: OpenSans;
}

.popup-button {
  display: block;
  width: 100%;
  height: 48px;
  background-color: #b59f5b;
  border: none;
  background-size: 18px auto;
}

.popup-button:hover,
.popup-button:focus {
  background-color: #000000;
  border: none;
  outline: none;
}

.popup-button-text {
  text-transform: uppercase;
  color: #ffffff;
  font-size: 14px;
}

@media (max-width: 767px) {
  .popup-wrapper {
    width: 100%;
    max-width: 450px;
    padding: 0 15px;
  }
}

/* popup styles end */

/* header styles start */

.header {
  width: 100%;
  padding: 28px 0 126px;
  position: relative;
  background-color: #666666;
  background-image: url(../images/banner-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

.header::before {
  content: "";
  background-color: #000000;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.4;
  z-index: -1;
}

.flex-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  width: 179px;
}

.menu-toggle, .menu-btn {
  display: none;
}

.menu-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.menu-item {
  margin-right: 35px;
}

.menu-item:last-child {
  margin-right: 0;
}

.menu-link {
  text-decoration: none;
  color: #ffffff;
  font-size: 13px;
  text-transform: uppercase;
}

.menu-link:hover,
.menu-link:focus {
  border-bottom: 1px solid #ffffff;
}

.header-title {
  max-width: 690px;
  margin: 100px auto 0;
  font-size: 45px;
  line-height: 75px;
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
  color: #ffffff;
}

@media (max-width: 1199px) {
  .wrapper {
    padding: 0 35px;
  }
  
  .header {
    background-image: url(../images/banner-bg-tablet.jpg);
    background-position: bottom center;
    padding-top: 43px;
    padding-bottom: 113px;
  }

  .header-logo {
    width: 158px;
  }

  #menu_toggle {
    opacity: 0;
  }
  
  #menu_toggle:checked ~ .menu-btn > span {
    transform: rotate(45deg);
  }
  #menu_toggle:checked ~ .menu-btn > span::before {
    top: 0;
    transform: rotate(0);
  }
  #menu_toggle:checked ~ .menu-btn > span::after {
    top: 0;
    transform: rotate(90deg);
  }
  #menu_toggle:checked ~ .menu-list {
    /* display: block; */
    visibility: visible;
    transition-duration: 0.25s;
    right: 0;
    top: 0;
  }
  
  .menu-btn {
    display: flex;
    align-items: center;
    position: absolute;
    top: 49px;
    right: 34px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 1;
    transition-duration: 0.25s;
  }
  
  .menu-btn > span,
  .menu-btn > span::before,
  .menu-btn > span::after {
    display: block;
    position: absolute;
  
    width: 100%;
    height: 2px;
  
    background-color: #ffffff;
  
    transition-duration: .25s;
  }
  .menu-btn > span::before {
    content: '';
    top: -8px;
  }
  .menu-btn > span::after {
    content: '';
    top: 8px;
  }
  
  .menu-list {
    display: block;
    position: absolute;
    visibility: hidden;
    right: 0;
    top: -100%;
    min-width: 150px;
    margin: 0;
    padding: 55px 0;
    background-color: #000000b0;
    box-shadow: 1px 0px 6px rgb(0 0 0 / 20%);
    transition-duration: 0.25s;
  }
  
  .menu-item {
    display: block;
    padding: 12px 24px;
    margin-right: 0;
    color: #333;
  
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 600;
    transition-duration: 0.25s;
  }
  .menu-item:hover {
    background-color: #CFD8DC;
  }

  .header-title {
    max-width: 630px;
    margin: 85px auto 0;
    font-size: 40px;
    line-height: 55px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .menu-toggle:checked ~ .menu-btn {
      top: 25px;
      transition-duration: 0.25s;
  }
}

@media (max-width: 767px) {
  .wrapper {
    padding: 0 15px;
  }

  
  .header {
    background-image: url(../images/banner-mobile.jpg);
    padding-top: 225px;
    padding-bottom: 213px;
  }

  .flex-header {
    flex-direction: column;
  }

  .header-logo {
    width: 270px;
  }

  .menu-btn {
    top: 28px;
    right: 17px;
    width: 23px;
  }

  .menu-btn > span,
  .menu-btn > span::before,
  .menu-btn > span::after {
    height: 3px;
  }


  .menu-list {
    width: 100%;
    text-align: center;
    background-color: #000000;

  }
  
  .header-title {
    margin: 30px auto 0;
    font-size: 26px;
    line-height: 35px;
  }
}


/* header styles end */

/* trends styles start */

.trends {
  padding-top: 58px;
}

.trends-row {
  display: flex;
  flex-wrap: nowrap;
}

.trends-header {
  position: relative;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  font-size: 20px;
  margin-bottom: 38px;
}

.trends-header::before {
  content: "";
  position: absolute;
  background-color: #ede8d7;
  width: 66px;
  height: 3px;
  left: calc(50% - 33px);
  bottom: -13px;
}

.trends-category {
  margin-bottom: 9px;
  display: flex;
  flex-wrap: wrap;
  text-transform: uppercase;
  list-style: none;
}

.trends-category-item {
  margin-right: 19px;
  font-size: 14px;
  line-height: 14px;
}

.trends-category-item:last-child {
  margin-right: 0px;
}

.trends-category-link {
  text-decoration: none;
  color: #b59f5b;
  font-weight: bold;
}

.trends-category-link:hover,
.trends-category-link:focus {
  border-bottom: 1px solid #b59f5b;
}

.trends-box {
  width: 100%;
  margin-right: 4px;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  padding: 16px 23px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 0;
}

.trends-box:last-child {
  margin-right: 0px;
}

.trends-box::before {
  content: "";
  background-color: #000000;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.6;
  z-index: 1;
}

.trends-item {
  padding: 32px;
  width: 100%;
  border: 3px solid rgba(181, 159, 91, 0.6);
  bottom: 0;
  z-index: 2;
}

.trends-content-link {
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
}

.trends-content-link:hover,
.trends-content-link:focus {
  color: #b59f5b;
}

@media (max-width: 1199px) {
  .trends {
    padding-top: 45px;
  }
  
  .trends-header {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .trends-row {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .trends-box {
    width: calc(50% - 2px);
    min-height: 250px;
    margin-bottom: 4px;
  }
  .trends-box:nth-child(odd) {
    margin-right: 4px;
  }
  .trends-box:nth-child(even) {
    margin-right: 0;
  }

  .trends-content-link {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .trends {
    padding-top: 39px;
  }

  .trends-header {
    font-size: 16px;
    margin-bottom: 35px;
  }

  .trends-header::before {
    bottom: -10px;
  }

  .trends-row {
    display: block;
  }

  .trends-box {
    width: 100%;
    min-height: 230px;
    margin: 0 0 2px;
    padding: 16px 15px;
  }
}

/* trends styles end */

.flex-main {
  display: flex;
  justify-content: space-between;
  padding-top: 64px;
  padding-bottom: 53px;
}

/* main styles strat */

.main {
  width: 778px;
}

.post {
  display: flex;
  margin-bottom: 55px;
}

.post:last-child {
  margin-bottom: 0px;
}

.post-image-box {
  width: 381px;
  margin-right: 30px;
}

.post-image {
  width: 381px;
  background-color: #eff6f1;
}

.post-category {
  margin-bottom: 9px;
  display: flex;
  flex-wrap: wrap;
  text-transform: uppercase;
  list-style: none;
}

.post-category-item {
  margin-right: 19px;
  font-size: 14px;
  line-height: 14px;
}

.post-category-item:last-child {
  margin-right: 0px;
}

.post-category-link {
  text-decoration: none;
  color: #b59f5b;
  font-weight: bold;
}

.post-category-link:hover,
.post-category-link:focus {
  border-bottom: 1px solid #b59f5b;
}

.post-header {
  margin-bottom: 28px;
  font-weight: bold;
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
}

.post-header-link {
  text-decoration: none;
  color: #000000;
}

.post-header-link:hover,
.post-header-link:focus {
  color: #b59f5b;
}

.accompanying-info {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.post-date {
  margin-right: 14px;
  font-size: 12px;
  text-transform: lowercase;
  color: #888888;
}

.post-author {
  font-size: 12px;
  font-weight: bold;
}

.post-content {
  font-size: 15px;
  color: #0f0d0e;
}

.post-content-text {
  margin-bottom: 12px;
  line-height: 22px;
}

@media (max-width: 1199px) {
  .flex-main {
    padding-top: 47px;
    justify-content: center;
  }

  .main {
    width: 381px;
    margin-right: 35px;
  }

  .post {
    display: block;
    width: 381px;
    border-bottom: 3px solid #eeeeee;
    padding-bottom: 4px;
    margin-bottom: 42px;
  }

  .post-content-box {
    margin-top: 10px;
  }

  .accompanying-info {
    margin-bottom: 28px;
  }

  .post-header {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .main {
    margin-right: 0px;
  }
  
  .flex-main {
    display: block;
    padding-top: 41px;
    padding-bottom: 41px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .post, .main{
    width: 100%;
  }

  .post-image-box, .post-image {
    width: 100%;
    max-width: 381px;
    margin-left: auto;
    margin-right: auto;
  }

  .post {
    margin-bottom: 33px;
  }

  .post:last-child {
    margin-bottom: 33px;
  }
  .post-header {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 17px;
  }

  .accompanying-info {
    margin-bottom: 14px;
  }

  .post-content {
    font-size: 14px;
  }
}
/* main styles end */

/* aside styles start */

.aside {
  width: 272px;
}

.latest-post {
  margin-bottom: 62px;
}

.aside-section-titles {
  position: relative;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  font-size: 14px;
  margin-bottom: 38px;
}

.aside-section-titles::before {
  content: "";
  position: absolute;
  background-color: #ede8d7;
  width: 66px;
  height: 3px;
  left: calc(50% - 33px);
  bottom: -13px;
}

.post-list {
  margin-bottom: 55px;
}

.new-post {
  display: flex;
  margin-bottom: 17px;
}

.new-post-image-box {
  box-sizing: border-box;
  width: 70px;
  min-width: 70px;
  max-width: 70px;
  margin-right: 20px;
}

.new-post-image {
  font-size: 10px;
  width: 70px;
  background-color: #f4f7f6;
}

.latest-post-date {
  font-size: 12px;
  text-transform: lowercase;
  color: #888888;
  line-height: 10px;
  margin-bottom: 5px;
}

.latest-post-header {
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
}

.latest-post-link {
  text-decoration: none;
  color: #000000;
}

.latest-post-link:hover,
.latest-post-link:focus {
  color: #b59f5b;
}

.search-form {
  display: flex;
}

.aside-search-button-label {
  width: calc(100% - 48px);
}

.search-input {
  width: 100%;
  height: 48px;
  padding: 0 20px;
  background-color: #f4f7f6;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid #f4f7f6;
  border-right: none;
  outline: none;
}

.search-input:focus {
  border: 1px solid #b59f5b;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  border-right: none;
}

.search-input:invalid {
  outline: none;
}

.search-button {
  width: 48px;
  height: 48px;
  background-color: #b59f5b;
  border: none;
  background-image: url(../svg/search.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 18px auto;
}

.search-button:hover,
.search-button:focus {
  background-color: #000000;
  border: none;
  outline: none;
}

.subscribe {
  margin-bottom: 60px;
}

.subscribe-input {
  width: 100%;
  height: 48px;
  margin-bottom: 18px;
  padding: 0 20px;
  background-color: #f4f7f6;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  border: 1px solid #f4f7f6;
}

.subscribe-input:focus {
  border: 1px solid #b59f5b;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
}

.subscribe-input:invalid {
  outline: none;
}

.subscribe-button {
  width: 100%;
  height: 48px;
  color: white;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  background-color: #b59f5b;
  border: none;
}

.subscribe-button:hover,
.subscribe-button:focus {
  background-color: #000000;
  border: none;
  outline: none;
}

.tags {
  margin-bottom: 60px;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.tags-item {
  margin-right: 5px;
  margin-bottom: 6px;
}

.tags-item-link:hover {
  border: 3px solid #b59f5b;
}

.tags-item-link {
  display: block;
  padding: 6px 14px;
  border: 3px solid #eeeeee;
  font-size: 12px;
  font-weight: bold;
  line-height: 10px;
  color: #0f0d0e;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 12px;
}

.categories-list {
  list-style: none;
}

.categories-item {
  display: flex;
  padding: 11px 0 16px;
  border-bottom: 1px solid #eeeeee;
}

.categories-item:first-child {
  padding-top: 0px;
}

.categories-item-link {
  margin-right: 5px;
  font-size: 14px;
  font-weight: bold;
  display: block;
  text-decoration: none;
  color: #000000;
}

.categories-item-link:hover {
  color: #b59f5b;
}

.categories-item-sum {
  color: #b59f5b;
  font-size: 12px;
  font-weight: bold;
}

@media (max-width: 767px) {
  .aside {
    width: 100%;
  }

  .aside-section-titles {
    font-size: 16px;
  }

  .aside-search-button-label {
    display: block;
    width: calc(100% - 48px);
  }

  .latest-post {
    margin-bottom: 41px;
  }

  .subscribe {
    margin-bottom: 35px;
  }

  .tags {
    margin-bottom: 30px;
  }
}

/* aside styles end */

/* shop styles start */

.shop {
  margin-bottom: 64px;
}

.shop-flex {
  display: flex;
  justify-content: space-between;
}

.shop-header {
  position: relative;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  font-size: 20px;
  margin-bottom: 38px;
}

.shop-header::before {
  content: "";
  position: absolute;
  background-color: #ede8d7;
  width: 66px;
  height: 3px;
  left: calc(50% - 33px);
  bottom: -13px;
}

.shop-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 33.33%;
  margin-right: 66px;
}

.shop-card:last-child {
  margin-right: 0;
}

.shop-image-box {
  text-align: center;
}

.shop-image {
  background-color: rgb(111, 111, 111);
  min-height: 150px;
}

.shop-content {
  padding: 48px 20px 26px;
  margin-top: -36px;
  height: 100%;
  border: 3px solid rgba(181, 159, 91, 0.6);
  position: relative;
}

.shop-card-header {
  font-size: 20px;
  text-transform: uppercase;
}

.shop-card-description {
  font-size: 15px;
}

.shop-link {
  text-decoration: none;
  color: #b59f5b;
}

.shop-link:hover,
shop-link:focus {
  text-decoration: underline;
}

.shop-price-box {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
}

.shop-price {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.shop-price-old {
  font-size: 14px;
  font-weight: bold;
  text-decoration: line-through;
}

.shop-price-old:after {
  content: " ₽";
  font-family: arial;
  font-size: 14px;
}

.shop-price-actually {
  font-size: 20px;
  font-weight: bold;
}

.shop-price-actually::after {
  content: " ₽";
  font-family: arial;
  font-size: 18px;
}

.shop-button {
  width: 140px;
  height: 50px;
  color: #ffffff;
  background-color: #b59f5b;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
}

.shop-button:hover,
.shop-button:focus {
  background-color: #000000;
}

@media (max-width: 1199px) {
  
  .shop {
    margin-bottom: 17px;
  }

  .shop-header {
    font-size: 18px;
  }
  
  .shop-flex {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .shop-card {
    width: calc(50% - 11px);
    margin-bottom: 30px;
    align-items: center;
  }

  .shop-card:nth-child(odd) {
    margin-right: 22px;
  }

  .shop-card:nth-child(even) {
    margin-right: 0;
  }

  .shop-content {
    max-width: 400px;
  }

  .shop-card-header {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .shop-header {
    font-size: 16px;
  }

  .shop-flex {
    display: block;
  }

  .shop-card {
    width: 100%;
    margin: 0 0 30px;
  }
}
/* shop styles end */

/* footer styles start */

.footer {
  padding-bottom: 41px;
}

.social {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 32px 0;
  background-color: #f4f7f6;
}

.social-item {
  margin-right: 28px;
}

.social-item:last-child {
  margin-right: 0;
}

.social-link {
  display: block;
  width: 20px;
  height: 20px;
  position: relative;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.twitter-ico {
  background-image: url(../svg/004-twitter.svg);
}

.pinterest-ico {
  background-image: url(../svg/001-pinterest.svg);
}

.facebook-ico {
  background-image: url(../svg/002-facebook-logo.svg);
}

.instagram-ico {
  background-image: url(../svg/005-instagram.svg);
}

.tmblr-ico {
  background-image: url(../svg/003-tumblr.svg);
}

.footer-copiright {
  margin-top: 74px;
  text-align: center;
}

.copiright-link {
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  color: #999999;
}

@media (max-width: 1199px) {
  .footer-copiright {
    margin-top: 42px;
  }
}

/* footer styles end */