.mobile-order-link {
  display: none;
}

.order-panel {
  scroll-margin-top: 16px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.language-select {
  min-width: 126px;
  height: 34px;
  padding: 6px 30px 6px 10px;
  border: 1px solid #596775;
  border-radius: 2px;
  color: #e8edf1;
  background: #2a3744;
  font: bold 12px Arial, Helvetica, sans-serif;
}

.field-error {
  margin-top: 6px;
  color: #a12f2c;
  font-size: 12px;
  font-weight: bold;
}

input[type="email"] {
  width: 100%;
  height: 39px;
  padding: 9px 10px;
  border: 1px solid #929da7;
  border-radius: 2px;
  background: #fff;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .12);
  color: #202a35;
  font: 14px Arial, Helvetica, sans-serif;
}

input[type="email"]:focus {
  border-color: #2875b8;
  outline: 3px solid rgba(40, 117, 184, .22);
}

input.invalid {
  border-color: #a94442;
  background: #fff7f7;
}

.legal-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(12, 18, 24, .66);
}

.legal-overlay[hidden],
.legal-dock[hidden] {
  display: none;
}

.legal-window {
  width: min(520px, 100%);
  border: 1px solid #89939c;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .42);
}

.legal-body {
  padding: 25px 30px 28px;
}

.legal-body p {
  margin: 0 0 15px;
  color: #4e5a66;
}

.legal-body .legal-lead {
  color: #27313d;
  font-size: 16px;
  font-weight: bold;
}

.legal-body address {
  margin: 20px 0;
  padding: 13px 15px;
  border: 1px solid #c5ccd2;
  background: #edf0f2;
  color: #3f4b56;
  font-style: normal;
}

.legal-dock {
  position: fixed;
  z-index: 90;
  right: 18px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 43px;
  padding: 9px 15px;
  border: 1px solid #89939c;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  color: #e8edf1;
  background: linear-gradient(#45576a, #314152);
  box-shadow: 0 -2px 7px rgba(25, 35, 45, .24);
  font: 12px Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.legal-dock span {
  color: #ffd08a;
  font-weight: bold;
}

@media (max-width: 760px) {
  .mobile-order-link {
    display: inline-block;
    margin: -10px 0 22px;
    padding: 8px 12px;
    border: 1px solid #89939c;
    border-radius: 2px;
    color: #27313d;
    background: linear-gradient(#fff, #dfe3e6);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
  }

  .header-tools {
    gap: 0;
  }

  .language-select {
    min-width: 110px;
  }

  .legal-body {
    padding: 20px;
  }

  .legal-dock {
    right: 8px;
    left: 8px;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
