@charset "utf-8";

body.is-checked {
  overflow: hidden;
}

.header__logo {
  position: fixed;
  top: 22px;
  left: 14px;
  aspect-ratio: 311/45;
  width: 211px;
  height: auto;
  transition: opacity 0.3s;
  z-index: 50;
}
@media screen and (min-width: 768px) {
  .header__logo {
 width: 311px;
  }
}
.header__logo:hover {
  opacity: 0.6;
}

.header__wrap {
  display: none;
}
@media screen and (min-width: 1200px) {
.header__wrap {
  background: #fff;
  border-radius: 10px;
  padding: 5px 7px 6px 44px;
  display: flex;
  gap: 19px;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0px 3px 10px rgba(255, 255, 255, 0.2));
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 50;
}
}

.header__link {
  line-height: 1;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.header__link p {
  transition: color 0.3s;
}
.header__link:hover p{
  color: #B22517;
}

.header__btn {
  margin-left: 19px;
  padding: 8px 9px 8px 17px;
  border-radius: 10px;
  width: 217px;
  height: auto;
  background: #B22517;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
  position: relative;
}
.header__btn::before {
  content: "";
  background: url('../images/icon-mail-white.svg') center / contain no-repeat;
  width: 19px;
  height: 14px;
}
.header__btn::after {
  content: "";
  margin-left: 17px;
  background: url('../images/icon-arrow-header.svg') center / contain no-repeat;
  width: 40px;
  height: 40px;
}
.header__btn p{
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
}
.header__btn:hover {
  opacity: 0.7;
}

.header__open {
  position: relative;
  width: 60px;
  height: 60px;
  cursor: pointer;
  background: #B22517;
  position: fixed;
  top: 9px;
  right: 10px;
  border-radius: 10px;
   z-index: 999999997;
  transition: opacity 0.3s;
}
@media screen and (min-width: 1200px) {
  .header__open {
	display: none; 
  }
}
.header__open.is-checked {
  z-index: 1000000000;
}

.header__bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 1px;
  background: #fff;
  transition: transform 0.3s linear, top 0.3s linear;
}
.header__bar:nth-of-type(1){
    top: 17px;
}
.header__bar:nth-of-type(2){
    top: 24px;
}
.header__bar:nth-of-type(3){
    top: 31px;
}
.header__open.is-checked > .header__bar:nth-of-type(1) {
    top: 33px;
    transform: rotate(45deg) translateX(-50%);
    left: 43%;
}
.header__open.is-checked > .header__bar:nth-of-type(2) {
    display: none;
}
.header__open.is-checked > .header__bar:nth-of-type(3) {
    top: 16px;
    transform: rotate(-45deg) translateX(-50%);
    left: 43%;
}

.header__open-text {
  position: absolute;
  bottom: 8px;
  left: 52%;
  transform: translateX(-50%);
  font-size: 10px;
  line-height: 1;
  color: #fff;
  width: max-content;
}

.header__content {
  width: 100%;
  max-width: 400px;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  padding: 100px 50px 80px;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s linear;
  overflow: auto;
  z-index: 999999999;
}
.header__content.is-checked {
  opacity: 1;
  pointer-events: auto;
}

.header__content-menu {
  display: flex;
  flex-direction: column;
}

.header__content-link {
  font-size: 14px;
  padding-block: 17px;
  border-bottom: 1px dotted #EFF0EF;
  text-align: center;
}
.header__content-link div p {
  color: #655542;
}
.header__content-link:hover {
  background: #F8F8F8;
}
