/* Amazon country picker — dropdown menu.
   Appended to <body> at click-time (see amazon-picker.js), positioned with
   `position: fixed`, so it always floats on top of the page and never
   affects the layout, size, or visibility of anything else on it. */

.amazon-picker-menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483000;
  min-width: 220px;
  background: #051014;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 16px 34px rgba(5, 16, 20, .30);
  padding: 6px;
  font-family: Helvetica, Arial, sans-serif;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  pointer-events: none;
}

.amazon-picker-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.amazon-picker-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 700;
  color: #96794c;
  padding: 9px 12px 7px;
}

.amazon-picker-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  text-align: left;
  padding: 10px 12px;
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
}

.amazon-picker-item:hover,
.amazon-picker-item:focus-visible {
  background: #ee8a00;
  color: #051014;
  outline: none;
}

.amazon-picker-flag {
  display: inline-flex;
  width: 20px;
  height: 14px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}

.amazon-picker-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.amazon-picker-domain {
  margin-left: auto;
  font-size: 11.5px;
  letter-spacing: .03em;
  opacity: .65;
}

.amazon-picker-item:hover .amazon-picker-domain {
  opacity: .75;
}
