.contact-address {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

.contact-address .address-street {
  grid-column: 1 / -1;
}

@media (max-width: 1100px) {
  .contact-address {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .contact-address .address-street {
    grid-column: 1 / -1;
  }

  .contact-address > .field:nth-child(2) {
    grid-column: 1 / -1;
  }
}

.contact-address .field,
.form-grid .field {
  min-width: 0;
}

.contact-address .field,
.contact-address input {
  width: 100%;
  box-sizing: border-box;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.form-grid .comment-field {
  grid-column: 1 / -1;
}

.form-grid textarea {
  display: block;
}

#contact-form [aria-invalid="true"] {
  border-color: #c73548;
  box-shadow: 0 0 0 3px rgba(199, 53, 72, .12);
}

#contact-form input[type="checkbox"][aria-invalid="true"] {
  outline: 3px solid rgba(199, 53, 72, .22);
  outline-offset: 2px;
}

/* Keep both confirmation choices on the same visual axis. */
#contact-form .notice-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  column-gap: 11px;
}

#contact-form .notice-check.compact {
  padding-right: 15px;
  padding-left: 15px;
}

#contact-form .notice-check input[type="checkbox"] {
  margin: 2px 0 0;
}

.partner-session a {
  padding: 6px 9px;
  color: #174f8e;
  background: #fff;
  border: 1px solid #bdd5eb;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 680px) {
  /* Keep the order editable on both checkout steps, including phones. */
  body:not([data-booking-step="4"]):not([data-booking-step="5"]) #summary {
    display: none !important;
  }
  body[data-booking-step="5"] .mobile-order-cost { display: none; }

  .contact-address {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 11px;
  }

  .contact-address .address-street {
    grid-column: 1 / -1;
  }

  .contact-address > .field:not(.address-street) {
    gap: 4px;
  }

  .contact-address > .field:not(.address-street) span {
    font-size: 11px;
    line-height: 1.15;
  }

  .contact-address > .field:not(.address-street) input {
    min-height: 40px;
    padding: 7px 9px;
    border-radius: 10px;
    font-size: 13px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .contact-address {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-address .address-street {
    grid-column: 1 / -1;
  }

  .contact-address > .field:nth-child(2) {
    grid-column: 1 / -1;
  }
}
.consultation-schedule-address{display:grid;gap:6px;margin:18px 0;padding:16px;background:linear-gradient(145deg,#eef6ff,#f8fbff);border:1px solid #bad7f4;border-radius:16px}
.schedule-address-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.schedule-address-heading label{color:#285b89;font-size:13px;font-weight:750;line-height:1.2}
.schedule-address-heading .house-point-button{flex:none;min-height:36px;padding:5px 9px;font-size:13px}
.schedule-address-entry{position:relative}
.consultation-schedule-address input{width:100%;min-height:48px;padding:10px 13px;background:#fff;border:1px solid #a9cbe9;border-radius:11px;font:inherit}
.consultation-schedule-address small{color:#56748f}
.consultation-schedule-address small:empty{display:none}
.consultation-schedule-address .address-suggestions{top:calc(100% + 2px);right:0;left:0;z-index:30}
@media(max-width:390px){.consultation-schedule-address{padding:10px}.schedule-address-heading label,.schedule-address-heading .house-point-button{font-size:12px}}
@media(max-width:375px){
  .consultation-schedule-address{margin-inline:-13px;padding-inline:4px}
  .schedule-address-heading{gap:4px}
  .schedule-address-heading .house-point-button{padding-inline:4px}
}
.route-warning-badge{display:inline-flex;margin:5px 0 0;padding:4px 8px;border-radius:999px;background:#fff0d6;color:#9a5100;font-size:11px;font-weight:900}
.route-info{margin:7px 0 0;padding:7px 9px;border-radius:9px;background:#eef6ff;color:#285b89;font-size:12px;font-weight:750}
.route-info.warning{background:#fff0d6;color:#8a4800}

/* Street and house remain on one row, including narrow phones. */
.schedule-address-entry{display:grid;grid-template-columns:minmax(0,1fr) clamp(76px,23%,110px);gap:8px;align-items:end}
.schedule-address-entry>label{display:grid;gap:6px;min-width:0;font-size:12px;color:#56748f}
.schedule-address-entry input{min-width:0;box-sizing:border-box;padding-inline:10px}
#schedule-address-label{color:#285b89;font-size:13px;font-weight:750;line-height:1.2}
@media(max-width:390px){#schedule-address-label{font-size:12px}}
