/* @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
*/
@font-face {
  font-family: "Playfair Display";
  src: url("../../assets/fonts/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display Italic";
  src: url("../../assets/fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../../assets/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
.header-submenu {
  background-color: #FFFFFF;
  color: #000000;
  max-width: 1220px;
  border-radius: 16px;
  padding: 16px;
  width: 100%;
  border: 2px solid #CFCFCF;
  box-shadow: 0px 4px 16px 0px rgba(114, 114, 114, 0.5);
  margin-bottom: 15px;
}
.header-submenu__back-button {
  display: none;
}
@media screen and (max-width: 767px) {
  .header-submenu__back-button {
    display: flex;
    gap: 8px;
    align-items: center;
    background-color: transparent;
    font-weight: 600;
    margin-bottom: 16px;
  }
}
.header-submenu__list-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 16px;
  max-height: 384px;
}
@media screen and (max-width: 1024px) {
  .header-submenu__list-wrapper {
    max-height: 540px;
  }
}
@media screen and (max-width: 767px) {
  .header-submenu__list-wrapper {
    gap: 0px;
    width: 100%;
    max-height: unset;
  }
}
.header-submenu__list-wrapper__item {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #F3F2F1;
  width: calc((100% - 48px) / 3);
}
.header-submenu__list-wrapper__item:hover {
  color: #0C9381;
}
.header-submenu__list-wrapper__item:hover img {
  filter: none;
}
.header-submenu__list-wrapper__item:hover svg path {
  stroke: #0C9381;
}
.header-submenu__list-wrapper__item img {
  width: 32px;
  height: 32px;
  margin-right: 20px;
  filter: brightness(0) saturate(100%);
}
.header-submenu__list-wrapper__item p {
  font-size: 16px;
  font-weight: 600;
  width: 100%;
}
@media screen and (max-width: 1024px) {
  .header-submenu__list-wrapper__item {
    width: calc((100% - 16px) / 2);
  }
}
@media screen and (max-width: 767px) {
  .header-submenu__list-wrapper__item {
    width: 100%;
  }
}
.header-submenu__list-wrapper__last-element {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-image: url("../../../dist/images/0de23c2fb8b3b430e10f498932c874a9a1347d3f.jpg");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: cover;
  border-radius: 8px;
  padding: 8px 16px;
}
.header-submenu__list-wrapper__last-element h3 {
  font-size: 16px;
  line-height: 24px;
  max-width: 235px;
}
@media screen and (max-width: 767px) {
  .header-submenu__list-wrapper__last-element {
    margin-top: 16px;
  }
}
@media screen and (min-width: 1025px) {
  .header-submenu__list-wrapper :nth-child(4) {
    border: none;
  }
  .header-submenu__list-wrapper :nth-child(8) {
    border: none;
  }
}
@media screen and (max-width: 1024px) and (min-width: 767px) {
  .header-submenu__list-wrapper :nth-child(1) {
    order: 0;
  }
  .header-submenu__list-wrapper :nth-child(2) {
    order: 1;
  }
  .header-submenu__list-wrapper :nth-child(3) {
    order: 2;
  }
  .header-submenu__list-wrapper :nth-child(4) {
    order: 8;
  }
  .header-submenu__list-wrapper :nth-child(5) {
    order: 6;
  }
  .header-submenu__list-wrapper :nth-child(6) {
    order: 7;
  }
  .header-submenu__list-wrapper :nth-child(7) {
    order: 3;
  }
  .header-submenu__list-wrapper :nth-child(8) {
    order: 11;
  }
  .header-submenu__list-wrapper :nth-child(9) {
    order: 4;
  }
  .header-submenu__list-wrapper :nth-child(10) {
    order: 5;
    border: none;
  }
  .header-submenu__list-wrapper :nth-child(11) {
    order: 11;
  }
  .header-submenu__list-wrapper :nth-child(12) {
    order: 11;
  }
}
@media screen and (max-width: 1024px) {
  .header-submenu {
    max-width: 672px;
    margin: 0 auto;
  }
}
/*# sourceMappingURL=header-submenu.css.map */
