.sidlo-porto .sidlo-order-page {
  width: min(100%, 68rem);
  margin-inline: auto;
}

.sidlo-porto .sidlo-order-page #form {
  margin: 0 0 1.1rem;
  /* #form is the entire form wrapper, not a heading. Oversized inherited
     text made labels enormous beside the otherwise normal-sized inputs. */
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
}

.sidlo-order-panel {
  padding: clamp(1.1rem, 3.2vw, 2.65rem);
  border: 1px solid #e7dcd0;
  border-radius: 1rem;
  background: #fcf9f4;
}

.sidlo-order-intro {
  max-width: 66ch;
  margin: 0 0 1.45rem;
  color: #5b4b40;
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  font-weight: 600;
  line-height: 1.55;
}

.sidlo-order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem;
}

.sidlo-order-wide { grid-column: 1 / -1; }
.sidlo-order-field { min-width: 0; }

.sidlo-order-field label {
  display: block;
  margin-bottom: .28rem;
  color: #35251a;
  font-size: .98rem;
  font-weight: 640;
  line-height: 1.35;
}

.sidlo-order-field label small {
  margin-inline-start: .2rem;
  color: #685c52;
  font-weight: 450;
}

.sidlo-order-field :is(input, select, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.8rem;
  padding: .56rem .72rem;
  border: 1px solid #c6b7a8;
  border-radius: .4rem;
  background: #fff;
  color: #2d211a;
  font: inherit;
  font-size: 1rem;
}

.sidlo-order-field textarea { resize: vertical; }
.sidlo-order-field .sidlo-start-date { margin-top: .45rem; }
.sidlo-order-field .sidlo-start-date[hidden] { display: none; }
.sidlo-order-field :is(input, select, textarea):focus { outline: 2px solid #94661d; outline-offset: 2px; }
.sidlo-order-field [aria-invalid="true"] { border-color: #a52f22; }

.sidlo-order-error {
  margin: 0 0 1.1rem;
  padding: .8rem 1rem;
  border-left: 4px solid #a52f22;
  border-radius: .25rem;
  background: #f9e9e4;
  color: #6e241a;
}

.sidlo-order-error ul { margin: .25rem 0 0; }
.sidlo-order-privacy { margin: 1rem 0 .8rem; color: #65574b; font-size: .88rem; }

.sidlo-porto .sidlo-order-button {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  min-height: 2.75rem;
  padding: .55rem 1.05rem;
  border-radius: 100vmax;
}

.sidlo-order-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.sidlo-order-thanks { text-align: center; }
.sidlo-order-thanks h1 { margin: .8rem 0; font-weight: 690; }

.sidlo-order-confirmation-icon {
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: #f0dfba;
  color: #59390b;
  font-size: 1.4rem;
  font-weight: 720;
}

.sidlo-order-thanks dl {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem 1.65rem;
  margin: 1.25rem 0;
  padding: .9rem;
  border-block: 1px solid #e8dbca;
}

.sidlo-order-thanks dd { margin: 0; overflow-wrap: anywhere; }

@media (max-width: 767.98px) {
  .sidlo-order-grid { grid-template-columns: minmax(0, 1fr); }
  .sidlo-order-thanks dl { flex-direction: column; }
}
