.gt-rebuild-header {
  --rb-header-text: #111827; --rb-header-muted: #8a97aa;
  --rb-header-border: #dbe3ed; --rb-header-orange: #ff6a00; --rb-header-bg: #ffffff;
  color: var(--rb-header-text); background: var(--rb-header-bg);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  font-size: 14.868px; line-height: 22.302px;
  min-height: 176px;
}

.gt-rebuild-header a {
  color: inherit; text-decoration: none;
}

.gt-rebuild-header__top,
.gt-rebuild-header__main,
.gt-rebuild-header__nav {
  width: min(1320px, calc(100% - 72px)); margin: 0 auto;
}

.gt-rebuild-header__top {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  min-height: 36px; font-size: 13px;
}

.gt-rebuild-header__top-links { display: flex; }

.gt-rebuild-header__top-links a,
.gt-rebuild-header__phone {
  display: flex;
  align-items: center;
  height: 32.5px;
  line-height: 14.3px;
}

.gt-rebuild-header__top-links a + a { margin-left: 23px; }

.gt-rebuild-header__email-copy { cursor: copy; user-select: text; }
.gt-rebuild-header__email-toast { position: fixed; z-index: 1300; transform: translate(-50%, -10px); padding: 10px 16px; border: 1px solid rgba(255, 90, 0, .22); border-radius: 999px; background: rgba(255, 255, 255, .96); box-shadow: 0 14px 34px rgba(15, 23, 42, .14); color: #0f172a; font-size: 14px; line-height: 18px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .16s ease, transform .16s ease; }
.gt-rebuild-header__email-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.gt-rebuild-header__phone {
  font-weight: 400;
  width: 233px;
  margin-right: 32px;
  justify-content: flex-end;
}

.gt-rebuild-header__phone span {
  margin-right: 8px;
  color: var(--rb-header-muted);
  font-weight: 400;
}

.gt-rebuild-header__main {
  display: grid;
  grid-template-columns: 130px 158px minmax(320px, 1fr) 282px;
  gap: 24px;
  align-items: center;
  min-height: 80px;
}

.gt-rebuild-header__logo {
  display: flex;
  align-items: center;
  width: 132px;
  height: 72px;
}

.gt-rebuild-header__logo img {
  display: block;
  width: 122px;
  height: auto;
  filter: invert(1) grayscale(1) contrast(1.25);
}

.gt-rebuild-header .gt-rebuild-header__catalog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 158px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  background: var(--rb-header-orange);
  font-size: 15px;
  font-weight: 600;
  line-height: 15px;
  padding: 0 24px;
  box-shadow: 0 6px 14px rgba(255, 106, 0, 0.18);
}

.gt-rebuild-header__catalog-icon {
  display: block; width: 20px; height: 20px;
  color: currentColor;
}

.gt-rebuild-header__catalog-wrap { position: relative; }

.gt-rebuild-header .gt-rebuild-header__catalog:hover,.gt-rebuild-header .gt-rebuild-header__catalog:focus-visible { background: #ff741f; box-shadow: 0 8px 18px rgba(255, 106, 0, 0.24); transform: translateY(-1px); }
.gt-rebuild-header__search-btn:hover { background: #ff741f; transform: translateY(-1px); }
.gt-rebuild-header__action:hover,.gt-rebuild-header .rb-cart__button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(15, 23, 42, .08); }
.gt-rebuild-header .gt-rebuild-header__catalog:active,.gt-rebuild-header__search-btn:active,.gt-rebuild-header__action:active,.gt-rebuild-header .rb-cart__button:active { transform: scale(.97); }

.gt-rebuild-header__search {
  position: relative;
  display: block; width: 100%; height: 46px;
}

.gt-rebuild-header__search .gt-rebuild-search {
  position: relative;
  display: block; width: 100%; height: 46px;
}

.gt-rebuild-header__search input {
  width: 100%; height: 46px; min-width: 0; padding: 0 70px 0 22px;
  border: 1px solid var(--rb-header-border); border-radius: 14px; background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  color: #182230; font-size: 15px; line-height: 46px;
  outline: none; transition: border-color .18s ease, box-shadow .18s ease;
}

.gt-rebuild-header__search input:focus {
  border-color: var(--rb-header-orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, .12);
}

.gt-rebuild-header__search-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 54px;
  height: 38px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: var(--rb-header-orange);
  box-shadow: 0 4px 10px rgba(255, 106, 0, 0.18);
  font-size: 0;
  font-weight: 500;
}

.gt-rebuild-header__search-btn::before {
  content: "";
  width: 20px; height: 20px;
  display: block;
  margin: 0 auto;
  background: currentColor;
  clip-path: path("M8.8 2.5a6.3 6.3 0 1 0 0 12.6 6.3 6.3 0 0 0 0-12.6Zm0 2a4.3 4.3 0 1 1 0 8.6 4.3 4.3 0 0 1 0-8.6Zm4.8 9.7 1.4-1.4 4.2 4.2-1.4 1.4-4.2-4.2Z");
}

.gt-rebuild-header__search-btn::after {
  content: none;
}

.gt-rebuild-search__suggest {
  position: absolute; z-index: 50; top: calc(100% + 8px); left: 0; right: 0;
  border-radius: 0 0 14px 14px; background: #fff; box-shadow: 0 18px 36px rgba(15, 23, 42, .08);
}

.gt-rebuild-header__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-left: -13px;
}

.gt-rebuild-header__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border: 1px solid var(--rb-header-border);
  border-radius: 12px;
  background: #fff;
  font-weight: 400;
  line-height: 14.868px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.035);
}

.gt-rebuild-header__action {
  width: 44px;
  position: relative;
}

.gt-rebuild-header__account { position: relative; width: 44px; height: 44px; }

.gt-rebuild-header__account::after { content: ""; position: absolute; top: 44px; right: -88px; width: 172px; height: 7px; }

.gt-rebuild-header__action svg { display: block; width: 21px; height: 21px; color: currentColor; }

.gt-rebuild-header__account-icon { fill: none; stroke: currentColor; }

.gt-rebuild-header__account:hover .gt-rebuild-header__action--account,
.gt-rebuild-header__account:focus-within .gt-rebuild-header__action--account { border-color: #ffb287; box-shadow: 0 10px 24px rgba(255, 90, 0, .1); }

.gt-rebuild-header__account-menu { position: absolute; z-index: 45; top: 51px; right: -88px; width: 172px; padding: 12px 0; border-radius: 4px; background: #fff; box-shadow: 0 0 20px rgba(170, 189, 206, .25); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }

.gt-rebuild-header__account:hover .gt-rebuild-header__account-menu,
.gt-rebuild-header__account:focus-within .gt-rebuild-header__account-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }

.gt-rebuild-header__account-menu a { display: block; padding: 8px 18px; color: #111827; font-size: 14px; line-height: 20px; font-weight: 400; white-space: nowrap; }

.gt-rebuild-header__account-menu a:hover,
.gt-rebuild-header__account-menu a:focus-visible { color: var(--rb-header-orange); }

.gt-rebuild-header__wishlist-icon { width: 21px; height: 21px; fill: currentColor; stroke: none; }

.gt-rebuild-header__action--wishlist .js-wishlist-total { position: absolute; top: 5px; right: 5px; min-width: 18px; width: auto; height: 18px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; background: #ff4a00; color: #fff; box-shadow: 0 5px 12px rgba(255, 74, 0, .38); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; line-height: 1; font-weight: 760; box-sizing: border-box; pointer-events: none; }

.gt-rebuild-header__action--wishlist .js-wishlist-total:empty { display: none; }

.gt-rebuild-header .rb-cart {
  position: relative; display: flex; align-items: center; width: 162px; height: 44px;
}

.gt-rebuild-header .rb-cart__button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 152px; height: 44px; padding: 0 10px;
  border: 1px solid var(--rb-header-border);
  border-radius: 10px;
  background: #fff;
  color: var(--rb-header-text);
  font-size: 14px; line-height: 14.868px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.035);
}

.gt-rebuild-header .rb-cart__icon { width: 21px; height: 21px; flex: 0 0 21px; color: currentColor; }

.gt-rebuild-header .rb-cart__badge {
  box-sizing: border-box; display: flex; align-items: center; justify-content: center;
  width: 26px; min-width: 26px; height: 20px; padding: 0 8px; margin: 0;
  border-radius: 999px; font-size: 12px; line-height: 12px; font-weight: 700;
  color: #fff; background: #ff4a00; box-shadow: 0 5px 12px rgba(255, 74, 0, 0.38);
}

.gt-rebuild-header .rb-cart__total { display: none; }

.gt-rebuild-header__action mark {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  min-width: 18px; height: 18px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px;
  background: #ff4a00; color: #fff; opacity: 1; box-shadow: 0 5px 12px rgba(255, 74, 0, .38);
  font-size: 10px; line-height: 1; font-weight: 760;
}

.gt-rebuild-header__nav {
  display: flex; gap: 24px; align-items: flex-start; position: relative;
  min-height: 68.56px; margin-top: -10px; padding-top: 9.28571px;
  font-size: 15px; font-weight: 500; line-height: 22.302px;
}

.gt-rebuild-header__nav-item {
  display: flex; align-items: center; position: relative; min-height: 50px;
}

.gt-rebuild-header__nav-link {
  display: flex; align-items: center; min-height: 50px; line-height: 50px; white-space: nowrap;
}

.gt-rebuild-header__nav-item + .gt-rebuild-header__nav-item { margin-left: 0; }

.gt-rebuild-header__nav-item--has-menu > .gt-rebuild-header__nav-link::after {
  content: ""; width: 10px; height: 7px; margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.gt-rebuild-header__nav-menu {
  position: absolute; z-index: 40; top: 50px; left: 0;
  width: 556px; padding: 22px 36px 25px; background: #fff;
  box-shadow: 0 24px 44px rgba(15, 23, 42, 0.06);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}

.gt-rebuild-header__nav-item--has-menu:hover .gt-rebuild-header__nav-menu,
.gt-rebuild-header__nav-item--has-menu:focus-within .gt-rebuild-header__nav-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s;
}

.gt-rebuild-header__nav-menu a {
  display: block; min-height: 0; margin: 0 0 17px;
  color: #111827; font-size: 15px; font-weight: 500; line-height: 1.35;
}

.gt-rebuild-header__nav-menu a:last-child { margin-bottom: 0; }

.gt-rebuild-header__nav-menu .gt-rebuild-header__nav-sub {
  color: #4b5563; font-size: 14px;
}

@media (min-width: 1440px) {
  .gt-rebuild-header__nav {
    gap: 36.56px;
  }
}

@media (max-width: 700px) {
  .gt-rebuild-header__top,
  .gt-rebuild-header__main,
  .gt-rebuild-header__nav {
    width: calc(100vw - 32px);
  }

  .gt-rebuild-header__top {
    align-items: center;
    gap: 14px;
    justify-content: flex-start;
    overflow: hidden;
    padding: 8px 0 4px;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .gt-rebuild-header__top::-webkit-scrollbar,
  .gt-rebuild-header__nav::-webkit-scrollbar {
    display: none;
  }

  .gt-rebuild-header__top-links {
    flex: 0 1 auto;
  }

  .gt-rebuild-header__top-links a:nth-child(n+4) {
    display: none;
  }

  .gt-rebuild-header__top-links a + a {
    margin-left: 14px;
  }

  .gt-rebuild-header__phone {
    display: none;
  }

  .gt-rebuild-header__main {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    gap: 12px;
    min-height: 70px;
  }

  .gt-rebuild-header__logo {
    width: 130px;
  }

  .gt-rebuild-header__search {
    display: none;
  }

  .gt-rebuild-header__actions {
    gap: 8px;
    justify-content: flex-end;
  }

  .gt-rebuild-header__account,
  .gt-rebuild-header__action--wishlist {
    display: none;
  }

  .gt-rebuild-header .rb-cart__button {
    min-width: 46px;
    padding: 0 12px;
  }

  .gt-rebuild-header .rb-cart__label,
  .gt-rebuild-header .rb-cart__text {
    display: none;
  }

  .gt-rebuild-header__nav {
    gap: 22px;
    min-height: 50px;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .gt-rebuild-header__nav-item,
  .gt-rebuild-header__nav-link {
    min-height: 44px;
    line-height: 44px;
  }
}
