/* Footer display preferences, separate from delivery details. */
.footer-preferences {
  margin: 0 35px;
  padding: 0 0 28px;
}
.preferences-panel {
  text-align: end;
}
.preferences-panel > summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  max-width: 100%;
  padding: 10px 14px;
  border: 1px solid #f7f9fc;
  border-radius: 9px;
  background: #ffffff;
  color: #465a70;
  font-size: 13px;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}
.preferences-panel > summary::-webkit-details-marker {
  display: none;
}
.preferences-panel > summary:hover {
  border-color: #718196;
  background: #ffffff;
}
.preferences-panel > summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
.preferences-globe,
.preferences-chevron {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.preferences-globe {
  color: #718196;
}
.preferences-divider {
  color: #718196;
}
.preferences-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.15s;
}
.preferences-panel[open] .preferences-chevron {
  transform: rotate(180deg);
}
.preferences-form {
  padding: 24px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  text-align: start;
}
.preferences-heading h2 {
  font-size: 25px;
  text-transform: none;
  letter-spacing: 0;
}
.preferences-heading p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 8px;
}
.preferences-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) auto;
  gap: 18px;
  align-items: end;
  margin-top: 22px;
}
.preferences-fields label {
  margin: 0;
  font-size: 12px;
}
.preferences-fields select {
  margin-top: 9px;
  min-height: 46px;
}
.preferences-fields button {
  min-height: 46px;
  max-width: 100%;
  border-radius: 9px;
}
@media (max-width: 1000px) {
  .preferences-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .preferences-fields button {
    justify-self: start;
  }
}
@media (max-width: 600px) {
  .footer-preferences {
    margin: 0 24px;
    padding-bottom: 24px;
  }
  .preferences-panel > summary {
    width: 100%;
    justify-content: center;
  }
  .preferences-form {
    padding: 20px;
  }
  .preferences-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .preferences-fields select {
    font-size: 16px;
  }
  .preferences-fields button {
    width: 100%;
    margin-top: 4px;
  }
}
