.gw-editorial-header {
  position: relative;
  z-index: 300;
  width: 100%;
  background: #fff;
  color: #1e293b;
  font-family:
    var(--font-giftwise-navbar, 'Sora'),
    var(--font-giftwise-thai, 'IBM Plex Sans Thai'),
    var(--font-giftwise-anuphan, 'Anuphan'), sans-serif;
  line-height: normal;
}

.gw-editorial-header *,
.gw-editorial-header *::before,
.gw-editorial-header *::after {
  box-sizing: border-box;
}

.gw-editorial-header a {
  color: inherit;
  text-decoration: none;
}

.gw-editorial-header button {
  font: inherit;
}

.gw-editorial-header__utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 40px;
  padding: 8px 24px;
  background: #0065f3;
  color: #fff;
}

.gw-editorial-header__tagline {
  flex: none;
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
}

.gw-editorial-header__utility-actions,
.gw-editorial-header__contact-link {
  display: flex;
  flex: none;
  align-items: center;
}

.gw-editorial-header__utility-actions {
  width: 534px;
  height: 29px;
  gap: 24px;
}

.gw-editorial-header__contact-link {
  gap: 6px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  height: 16px;
  line-height: 16px;
  white-space: nowrap;
}

.gw-editorial-header__phone {
  width: 175px;
}

.gw-editorial-header__line {
  width: 227px;
}

.gw-editorial-header__contact-link strong {
  font-weight: 700;
}

.gw-editorial-header__phone img {
  display: block;
  width: 14px;
  height: 14px;
  max-width: none;
}

.gw-editorial-header__line img {
  display: block;
  width: 16px;
  height: 16px;
  max-width: none;
}

.gw-editorial-header__locale {
  display: flex;
  flex: none;
  align-items: center;
  width: 84px;
  height: 29px;
  gap: 2px;
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  background: #fff;
  padding: 3px;
  color: #64748b;
  cursor: pointer;
}

.gw-editorial-header__locale span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  width: 38px;
  height: 23px;
  padding: 4px 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
}

.gw-editorial-header__locale span.is-active {
  background: #0065f3;
  color: #fff;
  font-weight: 700;
}

.gw-editorial-header__bar {
  position: relative;
  width: 100%;
  height: 73px;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.gw-editorial-header__desktop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 73px;
  padding: 12px;
}

.gw-editorial-header__left,
.gw-editorial-header__actions {
  display: flex;
  flex: none;
  align-items: center;
}

.gw-editorial-header__left,
.gw-editorial-header__actions {
  gap: 12px;
}

.gw-editorial-header__logo {
  position: relative;
  display: block;
  width: 141px;
  height: 42px;
  flex: none;
  overflow: hidden;
}

.gw-editorial-header__logo img {
  position: absolute;
  top: -31.66%;
  left: -4.04%;
  display: block;
  width: 110.91%;
  height: 167.34%;
  max-width: none;
}

.gw-editorial-header__products,
.gw-editorial-header__quote,
.gw-editorial-header__express,
.gw-editorial-header__my-quote {
  display: flex;
  height: 40px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 111px;
  padding: 0 16px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  transition: filter 0.2s ease;
}

.gw-editorial-header__products {
  width: 133px;
  height: 38px;
  justify-content: flex-start;
  gap: 8px;
  border: 1px solid #0065f3;
  background: #fff;
  color: #0065f3 !important;
}

.gw-editorial-header__products img {
  display: block;
  width: 16px;
  height: 16px;
  max-width: none;
}

.gw-editorial-header__nav {
  flex: none;
}

.gw-editorial-header__nav ul {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 18px;
}

.gw-editorial-header__nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #1e293b !important;
  font-size: 14px;
  font-weight: 600;
  height: 18px;
  line-height: 18px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.gw-editorial-header__nav-link:hover,
.gw-editorial-header__nav-link[aria-current='page'] {
  color: #0065f3 !important;
}

.gw-editorial-header__chevron {
  display: block;
  width: 10px;
  height: 10px;
  max-width: none;
}

.gw-editorial-header__favorite {
  display: flex;
  width: 36px;
  height: 36px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  background: #fff;
}

.gw-editorial-header__favorite img {
  display: block;
  width: 18px;
  height: 18px;
  max-width: none;
}

.gw-editorial-header__quote {
  width: 147px;
  height: 38px;
  justify-content: flex-start;
  background: #ffd200;
  color: #fff !important;
}

.gw-editorial-header__express {
  width: 121px;
  justify-content: flex-start;
  gap: 4px;
  background: rgba(0, 101, 243, 0.84);
  color: #fff !important;
}

.gw-editorial-header__express img {
  display: block;
  width: 16px;
  height: 16px;
  max-width: none;
}

.gw-editorial-header__my-quote {
  width: 177px;
  justify-content: flex-start;
  gap: 10px;
  background: #0065f3;
  color: #fff !important;
}

.gw-editorial-header__products:hover,
.gw-editorial-header__quote:hover,
.gw-editorial-header__express:hover,
.gw-editorial-header__my-quote:hover,
.gw-editorial-header__favorite:hover {
  filter: brightness(0.96);
}

.gw-editorial-header__badge {
  display: flex;
  width: 20px;
  height: 20px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  background: #fff;
  color: #0065f3;
  font-size: 12px;
  font-weight: 800;
  line-height: normal;
  margin-left: auto;
  text-align: center;
}

.gw-editorial-header__mobile,
.gw-editorial-header__mobile-menu {
  display: none;
}

@media (max-width: 1399px) {
  .gw-editorial-header__utility {
    padding-right: 16px;
    padding-left: 16px;
  }

  .gw-editorial-header__desktop {
    display: none;
  }

  .gw-editorial-header__mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 73px;
    padding: 12px 16px;
  }

  .gw-editorial-header__mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .gw-editorial-header__menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    border: 1px solid #e2e8f0;
    border-radius: 100px;
    background: #fff;
    cursor: pointer;
  }

  .gw-editorial-header__menu-toggle span {
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: #0065f3;
  }

  .gw-editorial-header__mobile-menu {
    position: absolute;
    top: 73px;
    right: 0;
    left: 0;
    z-index: 5;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    padding: 18px 20px 22px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  }

  .gw-editorial-header__mobile-menu.is-open {
    display: block;
  }

  .gw-editorial-header__mobile-menu nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
  }

  .gw-editorial-header__mobile-menu nav a {
    border-bottom: 1px solid #f1f5f9;
    padding: 10px 4px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
  }

  .gw-editorial-header__mobile-menu nav a[aria-current='page'] {
    color: #0065f3;
  }

  .gw-editorial-header__mobile-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
  }

  .gw-editorial-header__mobile-cta a {
    border-radius: 100px;
    background: #0065f3;
    padding: 9px 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
  }

  .gw-editorial-header__mobile-cta a:first-child {
    background: #ffd200;
  }
}

@media (max-width: 767px) {
  .gw-editorial-header__utility-actions {
    width: auto;
    gap: 10px;
  }

  .gw-editorial-header__phone,
  .gw-editorial-header__line span {
    display: none;
  }

  .gw-editorial-header__tagline {
    max-width: calc(100vw - 140px);
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
  }

  .gw-editorial-header__contact-link {
    font-size: 11px;
  }
}

@media (min-width: 768px) and (max-width: 899px) {
  .gw-editorial-header__utility-actions {
    width: auto;
    gap: 12px;
  }

  .gw-editorial-header__phone,
  .gw-editorial-header__line {
    width: auto;
  }

  .gw-editorial-header__phone span,
  .gw-editorial-header__line span {
    display: none;
  }
}

@media (max-width: 479px) {
  .gw-editorial-header__utility {
    padding-right: 10px;
    padding-left: 10px;
  }

  .gw-editorial-header__line,
  .gw-editorial-header__phone {
    display: none;
  }

  .gw-editorial-header__tagline {
    max-width: calc(100vw - 88px);
  }

  .gw-editorial-header__mobile {
    padding-right: 10px;
    padding-left: 10px;
  }

  .gw-editorial-header__mobile .gw-editorial-header__logo {
    width: 126px;
    height: 38px;
  }

  .gw-editorial-header__mobile .gw-editorial-header__products {
    display: none;
  }

  .gw-editorial-header__mobile-menu nav {
    grid-template-columns: 1fr;
  }
}
