/* GANSOR header module
   Owns topbar, header row, search, phone/tools cluster and desktop menu geometry.
   Theme files should only recolor these surfaces. */

#top {
  position: relative;
  z-index: 1002;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: #05060a;
}

#top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 0 16px;
}

#top form {
  margin: 0;
}

#top .dropdown-menu a img {
  padding: 0 5px 0 0;
}

#top .btn-link {
  text-decoration: none;
}

#top .dropdown-menu {
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  box-shadow: none;
  background: #18232e;
}

#top .dropdown-menu li a {
  padding: 10px 16px;
  color: #e2e8f0;
}

#top .dropdown-menu li a:hover {
  background: #131d28;
  color: #7ef0a0;
}

#top #currency,
#top #language {
  display: none;
}

#top-links {
  order: 1;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  float: none !important;
  margin: 0 auto 0 0;
}

#top-links .topbar-tabs {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

#top-links .topbar-tabs::-webkit-scrollbar {
  display: none;
}

#top-links .topbar-tabs > li {
  flex: 0 0 auto;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

#top-links .topbar-tabs > li > a {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  font-family: 'Mulish', Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
  text-transform: none;
  color: #cbd5e1;
  text-decoration: none;
  transition: color .2s ease, box-shadow .2s ease;
}

#top-links .topbar-tabs > li > a:hover {
  color: #f8fafc;
  box-shadow: inset 0 -1px 0 #22c55e;
}

#top-actions {
  order: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0 0 0 12px;
  position: relative;
  z-index: 40;
}

#top-theme-anchor,
#account {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 41;
}

#top .btn-group > .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  background: #0c0f18;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 4px;
  font-family: 'Mulish', Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  color: #e2e8f0;
  box-shadow: none;
}

#top .btn-group > .btn:hover,
#top .btn-group.open > .btn {
  background: #131d28;
  border-color: rgba(255, 255, 255, .12);
}

#top #account .fa-caret-down {
  font-size: 11px;
  opacity: .6;
}

.gs-topbar__account-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, .12);
  color: #22c55e;
  flex: 0 0 auto;
}

header {
  flex: 0 0 auto;
  position: relative;
  top: 0;
  z-index: 1001;
  overflow: visible;
  background: #111a21;
}

header .first-row,
.first-row > div[class*='col-'] {
  display: flex;
  align-items: center;
  margin: auto 0 !important;
}

header .first-row {
  position: relative;
  z-index: 1003;
  overflow: visible;
  padding: 14px 0 12px;
  width: 100%;
}

header #logo {
  padding-left: 0;
}

header #logo img {
  display: inline;
  max-height: 64px;
  width: auto;
}

header #div_search > div,
.search,
#search,
#search .search,
#search .search-form {
  width: 100%;
}

.header-logo-col {
  justify-content: flex-start;
}

.header-phone-col {
  justify-content: flex-end;
  position: relative;
  z-index: 10220;
}

.header-cart-col {
  justify-content: flex-end;
}

.label_39._bottom_3v._pad100_GR,
.label_39._left_2d._pad100_GR,
.label_39._right_1y._pad100_GR {
  right: 4% !important;
}

#search_phrase {
  position: absolute;
  left: 16px;
  bottom: -22px;
  font-size: .8em;
  color: #64748b;
}

#search_phrase a {
  border-bottom: dotted 1px;
  cursor: pointer;
}

.search-form {
  position: relative;
}

.search-form .cat_id {
  display: none;
}

.visible-sm .search-form .input-lg {
  height: 48px;
  line-height: 20px;
}

.visible-sm .search-form .btn-lg {
  height: 48px !important;
}

.search-form .input-lg {
  height: 48px;
  line-height: 20px;
  padding: 0 62px 0 18px;
  border: 2px solid rgba(34, 197, 94, .2);
  border-radius: 10px !important;
  background: #050915;
  color: #f8fafc;
  box-shadow: none;
  font-size: 16px;
  font-weight: 600;
}

.search-form .input-lg::placeholder {
  color: #64748b;
}

.search-form .btn-lg {
  font-size: 15px;
  height: 48px;
  padding: 0 18px;
}

.search-form .btn:hover:after {
  display: none;
}

.search-form .search-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: -17px 0 0;
  background: #22c55e;
  border: none;
  border-radius: 8px;
  color: #08130c;
  font-size: 16px;
}

.search-form .dropdown-menu a {
  padding: 2px 10px;
}

#phone {
  position: relative;
  z-index: 10220;
  margin: 0 !important;
  text-align: right;
}

#phone .phone {
  cursor: pointer;
  position: relative;
  z-index: 10221;
}

#phone .phone .show-phone {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.08;
  color: #f8fafc;
  white-space: nowrap;
  letter-spacing: -.01em;
}

#phone .phone .show-phone:before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex: 0 0 auto;
}

#phone .phone .show-phone > a,
#phone .phone .show-phone > span {
  color: #f8fafc;
}

#phone .dropdown-menu {
  z-index: 10320 !important;
  margin-top: 12px;
}

#phone .dropdown-menu li a {
  cursor: pointer;
  color: #e2e8f0;
}

#phone .dropdown-menu a:hover {
  background: #131d28;
}

#phone .dropdown-menu li.text {
  padding: 4px 15px;
  line-height: 1.4em;
  color: #9fb0c5;
}

#phone .dropdown-menu .open_callback {
  font-weight: 700;
  margin: 0 10px 3px;
  padding: 4px 0 0;
  border-bottom: dotted 1px rgba(255, 255, 255, .2);
  cursor: pointer;
  color: #7ef0a0;
}

#phone .phone a.callback {
  border-bottom: dotted 1px;
  cursor: pointer;
}

#phone .phone .fa-chevron-down {
  vertical-align: middle;
  font-size: .6em;
  margin: 0 0 1px;
  opacity: .45;
}

#phone .phone.open .fa-chevron-down {
  transform: rotate(-180deg);
}

#phone .additional-phone {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0;
  margin: 6px 0 0;
}

#phone .additional-phone.margin-0,
#phone .dropdown-toggle + .additional-phone {
  margin: 6px 0 0;
}

#phone .additional-phone > span {
  position: relative;
  margin: 0;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 800;
  color: #22c55e;
  cursor: pointer;
  border: none;
}

#phone .additional-phone > span + span:before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 1px;
  background: rgba(255, 255, 255, .12);
}

#phone .additional-phone > span:first-child {
  padding-left: 0;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
}

.header-tools__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: #9fb0c5;
  background: #0f1722;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 6px;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.header-tools__icon:hover,
.header-tools__icon:focus {
  color: #f8fafc;
  background: #131d28;
  border-color: rgba(34, 197, 94, .18);
}

.header-tools__count {
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 999px;
  background: #22c55e;
  color: #08130c;
  font-size: 9px;
  font-weight: 900;
  line-height: 16px;
}

.header-tools__cart {
  display: flex;
  align-items: center;
  margin-left: 2px;
  flex: 0 0 auto;
  min-width: 0;
}

#cart {
  position: relative;
  margin: 0;
  text-align: center;
}

#cart > .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 146px;
  height: 44px;
  padding: 0 14px;
  background: #22c55e;
  border: none !important;
  border-radius: 6px;
  box-shadow: none !important;
  color: #08130c;
}

#cart > .btn i {
  font-size: 18px;
}

#cart .cart-btn-label {
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  color: #08130c;
}

#cart #cart-total {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  min-width: 22px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  border-radius: 3px;
  text-shadow: none;
  border: none;
  background: rgba(0, 0, 0, .18);
  color: #08130c;
}

#cart .dropdown-menu {
  right: 0;
  margin-top: 14px;
  width: 500px;
  z-index: 99999;
  padding: 8px 12px 4px;
  border-radius: 12px;
}

#cart.open .dropdown-menu,
#cart.open2 .dropdown-menu {
  display: block;
}

#cart .dropdown-menu li {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 200px;
}

#menu_wrap {
  display: none !important;
}

.gs-header__menu-row {
  padding: 0 10px 14px;
}

#menu {
  position: relative;
  z-index: 99;
  min-height: 46px;
  margin: 0;
  border: none;
  border-radius: 0;
  background: #0a0f17;
  border-top: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(34, 197, 94, .16);
}

#menu.open {
  border-radius: 12px 12px 0 0 !important;
}

#menu #category {
  display: block;
  margin: 0;
  float: left;
  padding-left: 14px;
  font-weight: 500;
  line-height: 46px;
}

#menu .btn-navbar {
  display: block;
  position: absolute;
  right: 15px;
  margin: 0;
  padding: 0;
  line-height: 46px;
  border: none;
  box-shadow: none;
  cursor: default;
}

#menu .nav > li {
  display: block;
  float: none;
  min-height: 46px;
  background: transparent;
  border-bottom: none;
}

#menu .nav > li > a {
  padding: 0 16px;
  background: none;
  font-size: 13px;
  font-weight: 700;
  color: #7a8299;
  text-transform: none;
  line-height: 46px;
}

#menu .nav > li > a > span {
  display: inline-block;
  width: 20px;
  text-align: center;
  margin-right: 5px;
}

#menu .nav > li > a > span img {
  margin: -3px 0 0;
  width: 16px;
  height: 16px;
}

#menu .nav > li > a > span i {
  transform: none !important;
}

#menu .nav > li.open > a i {
  transform: rotate(-180deg);
}

#menu .navbar-collapse {
  position: absolute;
  z-index: 9999;
  left: 0;
  right: 0;
}

#menu.menu2 .nav > li:hover,
#menu.menu2 .nav > li.open {
  background: rgba(255, 255, 255, .02) !important;
}

#menu .cd-dropdown-trigger,
#menu #menu_fortrigger {
  display: flex !important;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 16px !important;
  color: #22c55e !important;
  font-size: 15px;
  font-weight: 800;
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, .06);
  box-shadow: none;
}

#menu .cd-dropdown-trigger span,
#menu #menu_fortrigger span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(34, 197, 94, .3);
  border-radius: 4px;
  background: rgba(34, 197, 94, .05);
}

#menu .cd-dropdown-trigger span i,
#menu #menu_fortrigger span i {
  color: #22c55e;
  font-size: 14px;
}

#menu.menu2 .nav > li > a {
  position: relative;
}

#menu.menu2 .nav > li > a:after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: #22c55e;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

#menu.menu2 .nav > li:hover > a:after,
#menu.menu2 .nav > li.open > a:after {
  transform: scaleX(1);
}

.menu_links {
  display: flex;
  overflow: hidden;
  margin: 0;
  padding: 0;
  height: 46px;
  list-style: none;
  border: none;
  border-radius: 0;
  background: #0c1018;
}

.menu_links > li {
  display: block;
  flex-basis: auto;
  flex-grow: 0;
  text-align: center;
  white-space: nowrap;
  border: none;
}

.menu_links > li > a {
  display: flex;
  align-items: center;
  height: 46px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: #7a8299;
}

.menu_links > li > a:hover {
  background: rgba(255, 255, 255, .02) !important;
  color: #f8fafc;
}

.menu_links a i {
  margin: 0 5px 0 0;
  min-width: 16px;
  text-align: left;
}

.menu_links li:hover > .dropdown-menu {
  display: block;
  visibility: visible;
  opacity: 1;
  left: auto;
  right: 10px;
  margin-top: 0;
  padding: 0 15px;
  border-top: none;
  border-radius: 0 0 10px 10px;
}

.menu_links .additional {
  width: 50px;
  max-width: 50px;
}

.menu_links .additional > a {
  font-size: 1.4em !important;
}

.menu_links .additional > a > i {
  margin: 0 !important;
  transform: none !important;
}

.menu_links .additional > div > div > ul > li {
  overflow: hidden;
}

.menu_links .additional > div > div > ul > li + li {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.menu_links .additional ul li a {
  display: block;
  min-height: 40px;
  padding: 12px 0 10px;
  line-height: normal;
  font-weight: 500;
}

.menu_links .additional .column-1 {
  width: 25%;
}

.header-trust-wrap {
  padding-top: 0;
  padding-bottom: 0;
}

.header-trustbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  border-top: 1px solid rgba(34, 197, 94, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

@media (min-width: 992px) {
  .gs-header > .container:first-child {
    position: relative;
  }

  header {
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  .gs-header > .container > .first-row {
    display: grid !important;
    grid-template-columns: 260px minmax(320px, 1fr) 290px 250px;
    column-gap: 18px;
    row-gap: 0;
    align-items: center !important;
    min-height: 78px;
    padding: 14px 0 12px !important;
  }

  .gs-header > .container > .first-row > [class*='col-'] {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .gs-header > .container > .first-row > .header-logo-col {
    grid-column: 1;
    width: auto !important;
    max-width: none !important;
  }

  .gs-header > .container > .first-row > .header-search-col {
    grid-column: 2;
    position: static;
    left: auto;
    top: auto;
    width: 100% !important;
    max-width: none !important;
    transform: none;
    z-index: auto;
  }

  .gs-header > .container > .first-row > .header-phone-col {
    grid-column: 3;
    width: auto !important;
    max-width: none !important;
    margin-left: 0;
  }

  .gs-header > .container > .first-row > .header-cart-col {
    grid-column: 4;
    width: auto !important;
    max-width: none !important;
    margin-left: 0;
  }

  #phone {
    text-align: right !important;
  }

  #phone .phone .show-phone {
    font-size: 22px;
    line-height: 1.02;
  }

  #phone .additional-phone {
    justify-content: flex-end;
  }

  .gs-header > .container + .container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .gs-header > .container + .container > .row > [class*='col-'] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #menu.menu2.navbar,
  #menu.menu2 .nav {
    width: 100% !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .gs-header > .container > .first-row {
    grid-template-columns: 220px minmax(240px, 1fr) 230px 138px;
    column-gap: 14px;
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .gs-header > .container > .first-row {
    grid-template-columns: 250px minmax(280px, 1fr) 250px 236px;
    column-gap: 16px;
  }
}

@media (max-width: 1199px) {
  .header-tools {
    gap: 10px;
  }

  .header-tools__icon {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  #cart > .btn {
    min-width: 46px !important;
    width: 46px !important;
    height: 44px !important;
    padding: 0 !important;
  }

  #cart .cart-btn-label {
    display: none !important;
  }

  #cart #cart-total {
    position: absolute !important;
    right: -4px !important;
    bottom: -3px !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 4px !important;
    line-height: 14px !important;
    font-size: 10px !important;
  }
}

@media (max-width: 991px) {
  #top .container {
    padding: 0 12px;
  }

  .gs-header > .container + .container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .gs-header > .container + .container > .row > [class*='col-'] {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #menu.menu2.navbar,
  #menu.menu2 .navbar-header,
  #menu.menu2 .navbar-collapse,
  #menu.menu2 .nav,
  #search2.visible-sm {
    width: 100% !important;
    max-width: 100% !important;
  }

  #top-links {
    overflow: hidden;
    margin-left: 0 !important;
  }

  #top-links .topbar-tabs > li:nth-child(n+4) {
    display: none;
  }

  #top-links .topbar-tabs > li > a {
    padding: 0 8px;
    font-size: 13px;
  }

  #top #account .hidden-xs {
    display: none;
  }

  header .first-row {
    display: flex !important;
    flex-wrap: wrap;
    padding: 14px 0 12px;
    gap: 12px 0;
  }

  .first-row > div {
    display: flex !important;
  }

  header .first-row > .header-logo-col {
    width: 100% !important;
    justify-content: center !important;
    margin-bottom: 2px !important;
  }

  header #logo {
    text-align: center;
    margin-bottom: 0;
  }

  #logo img {
    max-height: 52px !important;
  }

  header .first-row > .header-search-col {
    order: 4;
    width: 100% !important;
    padding-top: 4px !important;
  }

  header .first-row > .header-phone-col {
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 0 !important;
    justify-content: flex-start !important;
    order: 2 !important;
  }

  header .first-row > .header-cart-col {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    justify-content: flex-start !important;
    order: 3 !important;
  }

  header #phone {
    text-align: left;
  }

  header #phone .phone .show-phone {
    justify-content: flex-start;
    font-size: 22px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }

  header #phone .additional-phone {
    justify-content: flex-start;
    margin: 4px 0 0 !important;
    white-space: nowrap !important;
  }

  header #phone .additional-phone span {
    padding: 0 10px 0 0;
  }

  header #phone .dropdown-menu {
    left: 0;
    right: auto;
  }

  .header-tools {
    width: 100% !important;
    justify-content: flex-start !important;
    gap: 8px;
  }

  .header-tools__icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  #cart > .btn {
    width: auto !important;
    min-width: 132px !important;
    padding: 0 16px !important;
  }

  #cart .cart-btn-label {
    display: inline-flex !important;
  }
}
