.header-h-full {
  height: 100%;
}

.header-flex {
  display: flex;
}

.header-flex-row {
  flex-direction: row;
}

.header-justify-between {
  justify-content: space-between;
}

.header-items-center {
  align-items: center;
}

.header-float-right {
  float: right;
}

@media (max-width: 1023px) {
  .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .desktop-header {
    display: none;
  }
}

@media (min-width: 1024px) {
  .mobile-header {
    display: none;
  }

  .desktop-header {
    display: block;
  }
}

.desktop-header {
  position: sticky;
  height: var(--desktop-header-height);
  background-color: var(--white-color);
  border-bottom: 1px solid var(--border-light-gray-color);
}

.desktop-header__wrapper {
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .desktop-header__wrapper {
    max-width: 48rem;
  }
}

@media (min-width: 1024px) {
  .desktop-header__wrapper {
    max-width: 64rem;
  }
}

@media (min-width: 1280px) {
  .desktop-header__wrapper {
    max-width: 72rem;
  }
}

.desktop-header__wrapper__logo {
  height: 29px;
}

.desktop-header__wrapper__links {
  margin-left: 3rem;
}

.desktop-header__wrapper__links__list {
  list-style: none;
}

.desktop-header__wrapper__links__list li {
  float: left;
  margin-right: 1.0rem;
}

.desktop-header__wrapper__links__list li a {
  font-size: 16px;
  line-height: 24px;
  font-family: var(--market-content-fonts);
  color: var(--text-black-color);
  text-decoration: none;
}

.desktop-header__wrapper__links__list li a:hover {
  color: var(--light-blue-color);
}

.desktop-header__wrapper__cart-icon {
  display: flex;
}

.mobile-header {
  top: 0;
  width: 100%;
  position: sticky;
  height: var(--mobile-header-height);
  background-color: var(--white-color);
  border-bottom: 1px solid var(--border-light-gray-color);
}

.mobile-header__logo {
  height: 29px;
  margin-left: 1rem;
}

.mobile-header__navigation {
  height: 40px;
}

.mobile-header__navigation__mobile-navbar {
  left: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  overflow: hidden;
  background-color: #fff;
  /* top is being overrided with JS */
  top: var(--mobile-header-height);
  max-height: 0;
  transition: max-height .5s ease-out;
}

ul.mobile-header__navigation__mobile-navbar__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-header__navigation__mobile-navbar__menu li {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light-gray-color);
}

.mobile-header__navigation__mobile-navbar__menu li a {
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 25px;
  line-height: 20px;
  font-size: 16px;
  font-family: var(--market-content-fonts);
  color: var(--text-black-color);
  text-decoration: none;
}

.mobile-header__navigation__mobile-navbar__menu li a:hover {
  color: var(--light-blue-color);
}

.mobile-header__navigation__toggle {
  float: right;
  cursor: pointer;
  padding-top: 20px;
  padding-right: 1rem;
}

.mobile-header__navigation__toggle__line {
  width: 24px;
  height: 2px;
  display: block;
  position: relative;
  background: var(--dark-blue-color);
}

.mobile-header__navigation__toggle__line::before,
.mobile-header__navigation__toggle__line::after {
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  background: var(--dark-blue-color);
  transition: all .2s ease-out;
}

.mobile-header__navigation__toggle__line::before {
  top: 7px;
}

.mobile-header__navigation__toggle__line::after {
  top: -7px;
}

.mobile-header__navigation__checkbox:checked~nav {
  max-height: 100%;
}

.mobile-header__navigation__checkbox:checked~.mobile-header__navigation__toggle .mobile-header__navigation__toggle__line {
  background: transparent;
}

.mobile-header__navigation__checkbox:checked~.mobile-header__navigation__toggle .mobile-header__navigation__toggle__line::before {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-header__navigation__checkbox:checked~.mobile-header__navigation__toggle .mobile-header__navigation__toggle__line::after {
  top: 0;
  transform: rotate(45deg);
}

.locale-selector {
  font-size: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  padding-right: 2.5rem;
  line-height: 1.25rem;
  width: 100%;
  color: #2d3748;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  outline: none;
  transition: all 0.3s ease-in-out;
  appearance: none;
  background-repeat: no-repeat;
  font-family: 'ABCWhyte-Regular', -apple-system, OpenSans;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-position-x: calc(100% - 8px);
  background-position-y: 50%;
  background-repeat: no-repeat;
  background-size: 24px 24px;
}

.cart_icon__count__parent {
  position: relative;
}

.cart_icon__count__parent__child:after {
  content: attr(data-cart-length);
  font-size: 14px;
  text-align: center;
  color: white;
  background-color: #fa6e4b;
  position: absolute;
  border-radius: 50%;
  display: block;

  @media (max-width: 1023px) {
    line-height: 20px;
    width: 20px;
    height: 20px;
    top: -5px;
    right: -5px;
  }

  @media (min-width: 1024px) {
    line-height: 25px;
    width: 25px;
    height: 25px;
    top: -10px;
    right: -10px;
  }
}

/* Do not display cart length element in Safari */
.cart_icon__count__parent__child:not([data-cart-length]):after,
.cart_icon__count__parent__child[data-cart-length=""]:after {
  display: none;
}

@media (max-width: 1023px) {
  .min-h-screen-minus-header {
    min-height: calc(100vh - var(--mobile-header-height));
  }
}

@media (min-width: 1024px) {
  .min-h-screen-minus-header {
    min-height: calc(100vh - var(--desktop-header-height));
  }
}