@charset "UTF-8";

.ew-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(230, 230, 230, 0.92);
  background: #fff;
}



.ew-header.is-scrolled {
  box-shadow: none;
}

.ew-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(var(--ew-header-width), calc(100% - 64px));
  min-height: 90px;
  margin-inline: auto;
}

.ew-header__brand {
  display: inline-flex;
  flex: 0 0 175px;
  align-items: center;
}

.ew-header .ew-wordmark {
  gap: 1px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.045em;
}

.ew-header .ew-wordmark span {
  font-size: 27px;
  letter-spacing: -0.11em;
}

.ew-header__nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.ew-header__nav a {
  position: relative;
  padding-block: 38px 35px;
  color: #080d18;
  text-decoration: none;
}

.ew-header__nav a::after {
  position: absolute;
  left: 50%;
  bottom: 23px;
  width: 38px;
  height: 2px;
  content: "";
  background: var(--ew-orange);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.16s ease;
}

.ew-header__nav a:hover::after,
.ew-header__nav a:focus-visible::after {
  opacity: 1;
}

.ew-header .ew-button--header {
  position: relative;
  flex: 0 0 auto;
  min-width: 184px;
  min-height: 39px;
  padding: 0 29px 0 42px;
  border-width: 0;
  border-radius: 999px;
  background: #ff4f12;
  box-shadow: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.ew-header .ew-button--header::before {
  position: absolute;
  left: 21px;
  top: 50%;
  width: 13px;
  height: 12px;
  content: "";
  border: 0;
  background: url("../assets/icons/cta-gift-outline.png") center / 154% 154% no-repeat;
  transform: translateY(-50%);
}

.ew-header .ew-button--header::after {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 6px;
  height: 6px;
  content: "";
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
}

.ew-header .ew-button--header:hover {
  transform: none;
}

.ew-header__menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ew-border);
  border-radius: var(--ew-radius-small);
  background: var(--ew-white);
}

.ew-header__menu span:not(.ew-sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ew-ink);
}

.ew-mobile-menu-visual {
  display: none;
}

@media (max-width: 1180px) {
  .ew-header__inner {
    gap: 18px;
  }

  .ew-header__nav {
    gap: 20px;
  }
}

@media (max-width: 1023px) {
  .ew-header__inner {
    position: relative;
    width: calc(100% - 36px);
    max-width: 354px;
    margin-left: 18px;
    margin-right: auto;
    min-height: 64px;
    justify-content: space-between;
  }

  .ew-header__menu {
    display: none;
  }

  .ew-mobile-menu-visual {
    display: inline-block;
    order: 3;
    width: 44px;
    height: 34px;
    padding: 0;
    border: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background:
      linear-gradient(var(--ew-orange), var(--ew-orange)) 0 2px / 44px 4px no-repeat,
      linear-gradient(var(--ew-orange), var(--ew-orange)) 0 15px / 44px 4px no-repeat,
      linear-gradient(var(--ew-orange), var(--ew-orange)) 0 28px / 44px 4px no-repeat;
  }

  .ew-header__nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--ew-border);
    border-radius: 0 0 var(--ew-radius-medium) var(--ew-radius-medium);
    background: var(--ew-white);
    box-shadow: var(--ew-shadow-soft);
  }

  .ew-header__nav.is-open {
    display: flex;
  }

  .ew-header__nav a {
    padding: 14px;
  }

  .ew-header__nav a::after {
    left: 14px;
    bottom: 8px;
    transform: none;
  }

  .ew-header .ew-button--header {
    display: none;
  }
}

@media (max-width: 767px) {
  .ew-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1200;
    background: #fff;
  }

  .ew-header.is-menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1250;
    background: rgba(0, 0, 0, 0.55);
  }

  .ew-logo-placeholder--header {
    width: 178px;
    font-size: 11px;
  }

  .ew-mobile-menu-visual {
    position: fixed;
    top: 26px;
    left: calc(100vw - 62px);
    z-index: 1403;
    display: block;
    width: 42px;
    height: 32px;
    min-width: 42px;
    min-height: 32px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .ew-mobile-menu-visual:focus-visible {
    outline: 2px solid var(--ew-orange);
    outline-offset: 5px;
  }

  .ew-mobile-menu-visual::before,
  .ew-mobile-menu-visual::after,
  .ew-header.is-menu-open .ew-mobile-menu-visual::before,
  .ew-header.is-menu-open .ew-mobile-menu-visual::after {
    content: none;
    display: none;
  }

  .ew-mobile-menu-visual__bar {
    position: absolute;
    left: 0;
    display: block;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: var(--ew-orange);
    opacity: 1;
    transform-origin: center;
    transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
  }

  .ew-mobile-menu-visual__bar:nth-of-type(1) {
    top: 1px;
  }

  .ew-mobile-menu-visual__bar:nth-of-type(2) {
    top: 14px;
  }

  .ew-mobile-menu-visual__bar:nth-of-type(3) {
    top: 27px;
  }

  .ew-header.is-menu-open .ew-mobile-menu-visual {
    top: 28px;
    left: calc(100vw - 62px);
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    background: transparent;
    transform: none;
  }

  .ew-header.is-menu-open .ew-mobile-menu-visual__bar {
    width: 34px;
    height: 4px;
  }

  .ew-header.is-menu-open .ew-mobile-menu-visual__bar:nth-of-type(1) {
    top: 15px;
    transform: rotate(45deg);
  }

  .ew-header.is-menu-open .ew-mobile-menu-visual__bar:nth-of-type(2) {
    top: 15px;
    opacity: 0;
  }

  .ew-header.is-menu-open .ew-mobile-menu-visual__bar:nth-of-type(3) {
    top: 15px;
    transform: rotate(-45deg);
  }

  .ew-header__nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    z-index: 1300;
    display: flex;
    width: min(272px, calc(100vw - 72px));
    max-width: none;
    height: 100dvh;
    margin: 0;
    padding: 96px 20px 28px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    border: 0;
    border-radius: 34px 0 0 34px;
    background: #fff;
    box-shadow: -18px 0 42px rgba(2, 8, 20, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateX(104%);
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .ew-header__nav.is-open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .ew-header__nav a {
    position: relative;
    display: flex;
    min-height: 62px;
    align-items: center;
    padding: 0 28px 0 14px;
    border-bottom: 1px solid #e7e2df;
    color: #111827;
    font-size: 16px;
    font-weight: 900;
  }

  .ew-header__nav a::after {
    right: 4px;
    left: auto;
    bottom: auto;
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 3px solid #07111f;
    border-right: 3px solid #07111f;
    background: transparent;
    opacity: 1;
    transform: translateY(-50%) rotate(45deg);
  }
}

@media (max-width: 424px) {
  body {
    overflow-x: hidden !important;
  }

  .ew-header {
    height: 72px !important;
  }

  .ew-header__inner {
    width: 100vw !important;
    max-width: none !important;
    height: 72px !important;
    min-height: 72px !important;
    padding: 0 !important;
  }

  .ew-header__brand {
    top: 15px !important;
    left: 14px !important;
    width: 122px !important;
    max-width: 122px !important;
    height: 36px !important;
  }

  .ew-header .ew-wordmark {
    width: 122px !important;
    font-size: 14px !important;
  }

  .ew-header .ew-wordmark span {
    font-size: 29px !important;
    vertical-align: -7px !important;
  }

  .ew-header__brand::after {
    left: 25px !important;
    top: 27px !important;
    font-size: 7px !important;
  }

  .ew-header .ew-button--header {
    top: 16px !important;
    left: clamp(136px, 42vw, 184px) !important;
    width: clamp(136px, 39.5vw, 154px) !important;
    min-width: clamp(136px, 39.5vw, 154px) !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 8px 0 26px !important;
    font-size: clamp(9px, 2.6vw, 11px) !important;
    letter-spacing: 0 !important;
  }

  .ew-header .ew-button--header::before {
    left: 12px !important;
    width: 11px !important;
    height: 11px !important;
  }

  .ew-mobile-menu-visual,
  .ew-header.is-menu-open .ew-mobile-menu-visual {
    top: 20px !important;
    right: 10px !important;
    left: auto !important;
    width: 33px !important;
    min-width: 33px !important;
    height: 27px !important;
    min-height: 27px !important;
  }

  .ew-mobile-menu-visual__bar,
  .ew-header.is-menu-open .ew-mobile-menu-visual__bar {
    width: 33px !important;
    height: 4px !important;
  }

  .ew-mobile-menu-visual__bar:nth-of-type(1) {
    top: 0 !important;
  }

  .ew-mobile-menu-visual__bar:nth-of-type(2) {
    top: 11px !important;
  }

  .ew-mobile-menu-visual__bar:nth-of-type(3) {
    top: 22px !important;
  }

  .ew-header.is-menu-open .ew-mobile-menu-visual__bar:nth-of-type(1),
  .ew-header.is-menu-open .ew-mobile-menu-visual__bar:nth-of-type(2),
  .ew-header.is-menu-open .ew-mobile-menu-visual__bar:nth-of-type(3) {
    top: 12px !important;
  }
}
