.amazon-header {
  background-color: rgb(19, 25, 33);
  color: white;
  padding-left: 15px;
  padding-right: 15px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
}

.amazon-header-left-section {
  width: 180px;
}

@media (max-width: 800px) {
  .amazon-header-left-section {
    width: unset;
  }
}

.header-link {
  display: inline-block;
  padding: 6px;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0);
}

.header-link:hover {
  border: 1px solid white;
}

.amazon-logo {
  width: 100px;
  margin-top: 5px;
}

.amazon-mobile-logo {
  display: none;
}

@media (max-width: 575px) {
  .amazon-logo {
    display: none;
  }

  .amazon-mobile-logo {
    display: block;
    height: 35px;
    margin-top: 5px;
  }
}

.amazon-header-middle-section {
  flex: 1;
  max-width: 850px;
  margin-left: 10px;
  margin-right: 10px;
  display: flex;
}

.search-bar {
  flex: 1;
  width: 0;
  font-size: 16px;
  height: 38px;
  padding-left: 15px;
  border: none;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* automatically added by browser style */
/* .search-bar:focus {
  outline: none;
  box-shadow: 0 0 0px 2px orange;
} */


.search-button {
  background-color: rgb(254, 189, 105);
  border: none;
  width: 45px;
  height: 40px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  flex-shrink: 0;   /* prevents shrinking of the button */
}

.search-icon {
  height: 22px;
  margin-left: 2px;
  margin-top: 3px;
}

.amazon-header-right-section {
  width: 250px;
  flex-shrink: 0;
  display: flex;
  justify-content: end;
  align-items: center;
}

.flag-link{
  display: flex;
  width: 40px;
  height: 35px;
  color: white;
  align-items: end;
  justify-content: center;
  position: relative;
}

.flag-icon{
  height: 17px;
  width: 21px;
  border-radius: 1px;
}

.flag-text{
  font-size: 15px;
  font-weight: 700;
  margin-left: 5px;
}

.caret-down-icon{
  height: 7px;
  width: 8px;
  margin-top: 20px;
  cursor: pointer;
}


.language-selector {
  position: relative;   /* parent for absolute dropdown */
}


.language-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;           
  min-width: 140px;
  padding: 6px 0;
  background: #ffffff;
  color: #111111;
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  z-index: 800;
  white-space: nowrap;
}

.language-dropdown > div {
  padding: 8px 12px;
  cursor: pointer;
  color: #111;
  font-size: 14px;
}

.language-selector:hover .language-dropdown {
  display: block;
}


.orders-link {
  color: white;
  margin-left: 12px;
}

.returns-text {
  display: block;
  font-size: 13px;
}

.orders-text {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.cart-link {
  color: white;
  display: flex;
  align-items: center;
  position: relative;
}

.cart-icon {
  width: 50px;
}

.cart-text {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
}

.cart-quantity {
  color: rgb(240, 136, 4);
  font-size: 16px;
  font-weight: 700;

  position: absolute;
  top: 4px;
  left: 22px;
  
  width: 26px;
  text-align: center;
}
