/*
 * The fixed header: logo, menu and social dropdowns, search.
 *
 * Edit this file. It is served as it is — nothing compiles it, and the
 * order it loads in is set in resources/css/order.php.
 */

.header {
  -webkit-clip-path:inset(0 -100vw -100vh -100vw);
  clip-path:inset(0 -100vw -100vh -100vw);
  height:var(--header-height);
  pointer-events:none;
  position:fixed;
  transition:opacity .6s cubic-bezier(.25,.25,0,1),background-color .3s ease;
  width:100%;
  z-index:10;
}

.fullscreen-open .header {
  opacity:0;
  pointer-events:none;
}

html.no-scroll .header {
  padding-right:var(--scrollbar-width,0);
}

@media screen and (max-width:1199px) {

  html.no-scroll .header {
    padding-right:0;
  }
}

.header__inner {
  align-items:center;
  display:flex;
  justify-content:space-between;
  padding:24px var(--offset-x);
  width:100%;
}

@media screen and (max-width:1440px) {

  .header__inner {
    padding:16px var(--offset-x);
  }
}

@media screen and (max-width:1199px) {

  .header__inner {
    padding:24px var(--offset-x);
  }
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .header__inner {
    padding:4px var(--offset-x);
  }
}

.logo__container {
  aspect-ratio:1.609538003;
  position:relative;
  width:132px;
}

.logo__container .logo__variant {
  display:block;
  height:100%;
  width:100%;
}

.logo__container .logo__variant--dark {
  display:none;
}

.logo__container .logo__img,
.logo__container picture {
  display:block;
  height:100%;
  object-fit:contain;
  width:100%;
}

@media screen and (max-width:1440px) {

  .logo__container {
    width:108px;
  }
}

@media screen and (max-width:1199px) {

  .logo__container {
    width:124px;
  }
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .logo__container {
    width:84px;
  }
}

.header--light .logo__variant--light,
body.header--light .logo__variant--light {
  display:none;
}

.header--light .logo__variant--dark,
body.header--light .logo__variant--dark {
  display:block;
}

.header__logo-link {
  display:block;
  padding:12px 15px;
  pointer-events:auto;
  position:relative;
}

@media screen and (max-width:1440px) {

  .header__logo-link {
    padding:10px 12px;
  }
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .header__logo-link {
    padding:2px 10px;
  }
}

.header__logo-link--home {
  pointer-events:none;
}

.header__menu {
  align-items:center;
  background-color:#f1ede4;
  display:flex;
  height:46px;
  pointer-events:auto;
  position:relative;
  transition:width .4s ease;
  width:552px;
  z-index:2;
}

@media screen and (max-width:1440px) {

  .header__menu {
    height:32px;
    width:368px;
  }
}

@media screen and (max-width:1199px) {

  .header__menu {
    height:48px;
    width:400px;
  }
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .header__menu {
    height:32px;
    width:108px;
  }
}

.header__menu--opened {
  width:836px;
}

@media screen and (max-width:1440px) {

  .header__menu--opened {
    width:588px;
  }
}

@media screen and (max-width:1199px) {

  .header__menu--opened {
    width:400px;
  }
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .header__menu--opened {
    width:108px;
  }
}

.header__nav {
  align-items:center;
  display:flex;
  gap:32px;
  height:100%;
  left:80px;
  opacity:0;
  overflow:hidden;
  padding:0 32px;
  position:absolute;
  top:50%;
  transform:translate(-100%,-50%);
  transition:opacity .4s ease,transform .4s ease .2s;
  z-index:-1;
}

.header__nav:before {
  background-color:#18181866;
  content:"";
  height:32px;
  left:0;
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:1px;
}

@media screen and (max-width:1440px) {

  .header__nav {
    gap:20px;
    left:52px;
  }

  .header__nav:before {
    height:20px;
  }
}

@media screen and (max-width:1199px) {

  .header__nav {
    display:block;
    gap:0;
    left:0;
    padding:0;
    right:0;
    top:100%;
    transform:none;
    width:100%;
  }

  .header__nav:before {
    height:1px;
    left:50%;
    top:0;
    transform:translateX(-50%);
    width:120px;
  }
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .header__nav {
    display:none;
  }
}

.header__nav.is-active {
  opacity:1;
  overflow:visible;
  transform:translateY(-50%);
  z-index:1;
}

@media screen and (max-width:1199px) {

  .header__nav.is-active {
    transform:none;
  }
}

.header__nav-item {
  height:100%;
}

@media screen and (max-width:1199px) {

  .header__nav-item {
    background-color:#f1ede4;
    height:48px;
    width:100%;
  }
}

.header__btn {
  align-items:center;
  display:flex;
  gap:8px;
  height:100%;
  padding-inline:16px;
  transition:opacity .4s ease;
}

.header__btn svg {
  --size:16px;
  flex-shrink:0;
  height:var(--size);
  width:var(--size);
}

@media screen and (max-width:1440px) {

  .header__btn svg {
    --size:12px;
  }
}

@media(any-hover:hover),(hover:hover)and (pointer:fine) {

  .header__btn:not(:disabled):hover span,
  .header__btn:not(:disabled):hover svg {
    opacity:.4;
  }
}

@media screen and (max-width:1440px) {

  .header__btn {
    gap:4px;
    padding-inline:10px;
  }
}

@media screen and (max-width:1199px) {

  .header__btn {
    padding-inline:20px;
  }
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .header__btn {
    padding-inline:28px;
  }
}

.header__nav-wrapper {
  flex-grow:1;
  height:100%;
  overflow:hidden;
  position:relative;
}

@media screen and (max-width:1199px) {

  .header__nav-wrapper {
    overflow:visible;
  }
}

.header__menu-btn {
  width:100%;
}

@media(any-hover:hover),(hover:hover)and (pointer:fine) {

  .header__menu-btn:not(:disabled):hover .header__btn-el:after,
  .header__menu-btn:not(:disabled):hover .header__btn-el:before {
    transform:translate(-50%,-50%) scale(.8);
  }
}

.header__menu-btn .header__btn-el {
  --size:16px;
  color:#181818;
  display:block;
  height:var(--size);
  position:relative;
  width:var(--size);
}

.header__menu-btn .header__btn-el:after,
.header__menu-btn .header__btn-el:before {
  background-color:#181818;
  content:"";
  height:1.5px;
  left:50%;
  position:absolute;
  transition:transform .6s ease,top .6s ease;
  width:100%;
}

.header__menu-btn .header__btn-el:before {
  top:20%;
  transform:translate(-50%,-50%);
}

.header__menu-btn .header__btn-el:after {
  top:65%;
  transform:translate(-50%,-50%);
}

@media screen and (max-width:1440px) {

  .header__menu-btn .header__btn-el {
    --size:12px;
  }
}

.header__menu-btn.is-opened {
  padding-inline:32px;
}

.header__menu-btn.is-opened .header__btn-text {
  display:none;
}

.header__menu-btn.is-opened .header__btn-el:before {
  top:50%;
  transform:translate(-50%,-50%) rotate(45deg);
}

.header__menu-btn.is-opened .header__btn-el:after {
  top:50%;
  transform:translate(-50%,-50%) rotate(-45deg);
}

@media screen and (max-width:1440px) {

  .header__menu-btn.is-opened {
    padding-inline:20px;
  }
}

@media screen and (max-width:1199px) {

  .header__menu-btn.is-opened {
    justify-content:center;
    width:100%;
  }
}

@media(any-hover:hover),(hover:hover)and (pointer:fine) {

  .header__menu-btn.is-opened:not(:disabled):hover .header__btn-el:before {
    transform:translate(-50%,-50%) rotate(45deg) scale(1.1);
  }

  .header__menu-btn.is-opened:not(:disabled):hover .header__btn-el:after {
    transform:translate(-50%,-50%) rotate(-45deg) scale(1.1);
  }
}

.header__btn-text {
  display:block;
  height:100%;
}

.header__socials {
  height:100%;
  margin-left:auto;
  position:relative;
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .header__socials {
    display:none;
  }
}

.header__social-btn {
  background-color:#e1251b;
  color:#fff;
  position:relative;
  z-index:3;
}

.header__socials-list {
  left:0;
  opacity:0;
  pointer-events:none;
  position:absolute;
  right:0;
  top:100%;
  transform:translateY(-25%);
  transition:opacity .4s ease,transform .4s ease;
  width:100%;
}

.header__socials-list.is-active {
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.header__socials-item {
  align-items:center;
  background-color:#e1251b;
  color:#fff;
  display:flex;
  height:48px;
  justify-content:center;
  width:100%;
}

@media(any-hover:hover),(hover:hover)and (pointer:fine) {

  .header__socials-item:not(:disabled):hover span {
    opacity:.4;
  }
}

@media screen and (max-width:1440px) {

  .header__socials-item {
    height:32px;
  }
}

@media screen and (max-width:1199px) {

  .header__socials-item {
    height:48px;
  }
}

.header__search-btn {
  position:relative;
  z-index:2;
}

.header__search-btn .icon-search {
  display:block;
  pointer-events:none;
}

.header__search-btn .icon-cross {
  display:none;
  pointer-events:none;
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .header__search-btn {
    display:none;
  }
}

.header__search-btn.is-active {
  background-color:#181818;
  color:#fff;
}

.header__search-btn.is-active .icon-search {
  display:none;
}

.header__search-btn.is-active .icon-cross {
  display:block;
}

.header__search-container {
  left:0;
  position:absolute;
  right:0;
  top:100%;
  width:100%;
  z-index:-1;
}

.header__search-input {
  background-color:#181818;
  border:none;
  color:#f1f1f1;
  font-size:14px;
  font-weight:600;
  height:48px;
  letter-spacing:-3.25%;
  line-height:20px;
  opacity:1;
  outline:none;
  padding:19px 16px;
  text-transform:uppercase;
  transform:translateY(0);
  width:100%;
}

@media screen and (max-width:1440px) {

  .header__search-input {
    font-size:12px;
    height:32px;
    line-height:14px;
    padding:12px 10px;
  }
}

@media screen and (max-width:1199px) {

  .header__search-input {
    font-size:14px;
    height:49px;
    line-height:20px;
    padding:19px 16px;
  }
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .header__search-input {
    display:none;
  }
}

.header__menu--mobile {
  align-items:stretch;
  background-color:#f1ede4;
  color:#181818;
  display:none;
  flex-direction:column;
  inset:0;
  justify-content:space-between;
  position:fixed;
  transform:translateY(-100%);
  transition:transform .4s ease;
  z-index:100;
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .header__menu--mobile {
    display:flex;
  }
}

.header__menu--mobile.is-active {
  transform:translateY(0);
}

.header__menu-btn--mobile {
  align-items:center;
  align-self:center;
  border:1px solid #18181866;
  display:flex;
  height:32px;
  justify-content:center;
  margin-top:16px;
  width:64px;
}

.header__menu-btn--mobile svg {
  --size:12px;
  height:var(--size);
  width:var(--size);
}

.header__nav--mobile {
  align-items:center;
  display:flex;
  flex-direction:column;
  flex-grow:1;
  gap:14px;
  justify-content:center;
}

.header__search-btn--mobile {
  margin-top:46px;
}

.header__socials-list--mobile {
  background-color:#e1251b;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  width:100%;
}

.header__socials-item--mobile {
  align-items:center;
  color:#fff;
  display:flex;
  height:32px;
  justify-content:center;
  width:100%;
}

.header--light .header__menu {
  background-color:#181818;
  color:#fff;
}

.header--light .header__btn-el:after,
.header--light .header__btn-el:before {
  background-color:#f1ede4;
}

@media screen and (max-width:1199px) {

  .header--light .header__nav-item {
    background-color:#f1ede4;
    color:#181818;
  }
}

.header__search {
  height:100%;
}

.header--dark .header__menu {
  background-color:#f1ede4;
  color:#181818;
}

.header--dark .header__btn-el:after,
.header--dark .header__btn-el:before {
  background-color:#181818;
}

@media screen and (max-width:1199px) {

  .header--dark .header__nav-item {
    background-color:#181818;
    color:#fff;
  }
}

.header--red .header__menu {
  background-color:#f1ede4;
  color:#181818;
}

.header--red .header__btn-el:after,
.header--red .header__btn-el:before {
  background-color:#181818;
}

@media screen and (max-width:1199px) {

  .header--red .header__nav-item {
    background-color:#f1ede4;
  }
}

.header--red .header__social-btn,
.header--red .header__socials-item {
  background-color:#181818;
  color:#fff;
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .header--solid.header--light {
    background-color:#f1ede4;
  }

  .header--solid.header--dark {
    background-color:#181818;
  }

  .header--solid.header--red {
    background-color:#e1251b;
  }
}

.header__search-results {
  background-color:#181818;
  border-top:1px solid #fff3;
  display:flex;
  flex-direction:column;
  max-height:600px;
  overflow:auto;
  padding-inline:16px;
  width:100%;
}

@media screen and (max-width:1440px) {

  .header__search-results {
    padding-inline:10px;
  }
}

@media screen and (max-width:1199px) {

  .header__search-results {
    padding-inline:20px;
  }
}

.header__search-results-item {
  color:#fff;
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:32px 0;
  transition:opacity .4s ease;
}

@media screen and (max-width:1440px) {

  .header__search-results-item {
    gap:16px;
    padding:20px 0;
  }
}

@media screen and (max-width:1199px) {

  .header__search-results-item {
    padding:24px 0;
  }
}

@media(any-hover:hover),(hover:hover)and (pointer:fine) {

  .header__search-results-item:not(:disabled):hover {
    opacity:.4;
  }
}

.header__search-results-item:not(:last-child) {
  border-bottom:1px solid #fff3;
}

.header__search-results-item-info {
  align-items:center;
  display:flex;
  gap:16px;
}

@media screen and (max-width:1440px) {

  .header__search-results-item-info {
    gap:10px;
  }
}

#tidio-chat {
  z-index:10!important;
}

#tidio-chat.is-visible {
  transform:translateY(0);
}

.header__scroll-top-btn {
  align-items:center;
  background-color:#0000;
  border:none;
  bottom:24px;
  cursor:pointer;
  display:flex;
  height:48px;
  justify-content:center;
  pointer-events:none;
  position:fixed;
  right:24px;
  transform:translateY(180px);
  transition:transform .4s ease-in-out,background-color .4s ease-in-out;
  width:48px;
  z-index:8;
}

.header__scroll-top-btn svg {
  color:#181818;
  height:24px;
  transition:opacity .4s ease-in-out;
  width:24px;
}

.header--light .header__scroll-top-btn,
body.header--light .header__scroll-top-btn {
  background-color:#0000;
}

.header--light .header__scroll-top-btn svg,
body.header--light .header__scroll-top-btn svg {
  color:#181818;
}

.header--dark .header__scroll-top-btn,
body.header--dark .header__scroll-top-btn {
  background-color:#0000;
}

.header--dark .header__scroll-top-btn svg,
body.header--dark .header__scroll-top-btn svg {
  color:#fff;
}

.header--red .header__scroll-top-btn,
body.header--red .header__scroll-top-btn {
  background-color:#0000;
}

.header--red .header__scroll-top-btn svg,
body.header--red .header__scroll-top-btn svg {
  color:#fff;
}

.header__scroll-top-btn.is-visible {
  pointer-events:auto;
  transform:translateY(0);
}

@media(any-hover:hover),(hover:hover)and (pointer:fine) {

  .header__scroll-top-btn:not(:disabled):hover svg {
    opacity:.5;
  }
}

@media (max-width:900px)and (orientation:landscape),screen and (max-width:767px) {

  .header__scroll-top-btn {
    background-color:#f1ede4;
    bottom:16px;
    height:48px;
    right:16px;
    width:48px;
  }

  .header__scroll-top-btn svg {
    color:#181818;
    height:20px;
    width:20px;
  }
}

html.no-scroll .header__scroll-top-btn {
  margin-right:var(--scrollbar-width,0);
}

@media screen and (max-width:1199px) {

  html.no-scroll .header__scroll-top-btn {
    margin-right:0;
  }
}

.header__search-results-link {
  align-items:center;
}
