.disclaimer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgb(255, 216, 20);
  padding: 0.2rem;
  max-height: min-content;
  z-index: 99;
  font-size: 12px;
  color: black;
  text-align: center;
  align-content: center;
}

.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: sticky;
  top: 0;
  z-index: 100;
  left: 0;
  right: 0;
  height: 60px;
}

.amazon-header-left-section {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.amazon-header-right-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.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;
}

.search-bar {
  flex: 1;
  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;
}

.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;
}

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

.user-greeting {
  position: relative;
  display: inline-block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
}

.greeting-text {
  background-color: transparent;
}

.arrow-icon {
  display: block;
  margin: 6px auto 0;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #fff;
}

.dropdown-card {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  padding: 12px;
  border-radius: 4px;
  min-width: 160px;
  display: none;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.user-greeting:hover .dropdown-card,
.user-greeting:focus-within .dropdown-card {
  display: block;
  opacity: 1;
  left: 50%;
  right: auto;
  visibility: visible;
  transform: translate(-50%, 0);
}

#sign-out-btn {
  background-color: #f0c14b;
  border: 1px solid #a88734;
  padding: 8px 12px;
  width: 100%;
  font-size: 14px;
  border-radius: 3px;
  cursor: pointer;
}

#sign-out-btn:hover {
  background-color: #e2b33c;
}

.orders-link {
  color: white;
  align-content: center;
}

.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;
}

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

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

  .amazon-header-left-section, .amazon-header-right-section {
    display: none;
  }
}