/*******************************************************************************
********************************************************************************
PUBLIC
********************************************************************************
*******************************************************************************/

.ice-preorder {
  --ice-preorder-navy: #333333;
  --ice-preorder-accent: #f9b000;
  --ice-preorder-border: #dddddd;
  --ice-preorder-muted: #555555;
  box-sizing: border-box;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  color: var(--ice-preorder-navy);
}

.ice-preorder *,
.ice-preorder *::before,
.ice-preorder *::after {
  box-sizing: inherit;
}

.ice-preorder .ice-preorder__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.ice-preorder .ice-preorder__step {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0 8px;
  color: var(--ice-preorder-muted);
  text-align: center;
  list-style: none;
}

.ice-preorder .ice-preorder__step:not(:last-child)::after {
  position: absolute;
  top: 20px;
  left: calc(50% + 26px);
  right: calc(-50% + 26px);
  height: 2px;
  background: var(--ice-preorder-border);
  content: "";
}

.ice-preorder .ice-preorder__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  border: 2px solid var(--ice-preorder-border);
  border-radius: 50%;
  background: #fff;
  color: var(--ice-preorder-muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.ice-preorder .ice-preorder__step-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.ice-preorder .ice-preorder__step.is-active {
  color: var(--ice-preorder-navy);
}

.ice-preorder .ice-preorder__step.is-active .ice-preorder__step-number {
  border-color: var(--ice-preorder-accent);
  background: var(--ice-preorder-accent);
  color: var(--ice-preorder-navy);
}

.ice-preorder .ice-preorder__step.is-complete {
  color: var(--ice-preorder-navy);
}

.ice-preorder .ice-preorder__step.is-complete .ice-preorder__step-number {
  border-color: var(--ice-preorder-accent);
  background: var(--ice-preorder-accent);
  color: var(--ice-preorder-navy);
}

.ice-preorder .ice-preorder__step.is-complete:not(:last-child)::after {
  background: var(--ice-preorder-accent);
}


.ice-preorder .ice-preorder-company {
  margin: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgb(23 43 77 / 7%);
  overflow: hidden;
}

.ice-preorder .ice-preorder-company__header {
  padding: 28px 32px 0;
}


.ice-preorder .ice-preorder-company__title {
  margin: 0;
  color: var(--ice-preorder-navy);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  line-height: 1.25;
}

.ice-preorder .ice-preorder-company__description {
  margin: 12px 0 0;
  color: var(--ice-preorder-muted);
  font-size: 15px;
  line-height: 1.6;
}

.ice-preorder .ice-preorder-company__body {
  padding: 32px;
}

.ice-preorder .ice-preorder-company__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ice-preorder .ice-preorder-company__fields--brand {
  grid-template-columns: minmax(0, 1fr);
}

.ice-preorder .ice-preorder-company .form-row {
  float: none;
  clear: none;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.ice-preorder .ice-preorder-company__company_name,
.ice-preorder .ice-preorder-company__street_address {
  grid-column: 1 / -1;
}

.ice-preorder .ice-preorder-company label {
  display: block;
  margin-bottom: 8px;
  color: var(--ice-preorder-navy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.ice-preorder .ice-preorder-company input:where(:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"])),
.ice-preorder .ice-preorder-company select,
.ice-preorder .ice-preorder-company textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #aebccd;
  border-radius: 8px;
  background: #fff;
  color: var(--ice-preorder-navy);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.ice-preorder .ice-preorder-company__tax-control {
  display: flex;
  align-items: stretch;
  min-width: 0;
  border: 1px solid #aebccd;
  border-radius: 8px;
  background: #fff;
}

.ice-preorder .ice-preorder-company__tax-prefix {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-left: 14px;
  color: var(--ice-preorder-navy);
  font-weight: 600;
}

.ice-preorder .ice-preorder-company__tax-prefix[hidden] {
  display: none;
}

.ice-preorder .ice-preorder-company .ice-preorder-company__tax-control input,
.ice-preorder .ice-preorder-company .ice-preorder-company__tax-control input:focus {
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  box-shadow: none;
}

.ice-preorder .ice-preorder-company__tax-control:focus-within {
  border-color: var(--ice-preorder-accent);
  box-shadow: inset 0 0 0 1px var(--ice-preorder-accent);
}

.ice-preorder .ice-preorder-company textarea {
  min-height: 120px;
  resize: vertical;
}

.ice-preorder .ice-preorder-company input:focus,
.ice-preorder .ice-preorder-company select:focus,
.ice-preorder .ice-preorder-company textarea:focus,
.ice-preorder .ice-preorder-company .select2-container--focus .select2-selection--single,
.ice-preorder .ice-preorder-company .select2-selection--single:focus {
  border-color: var(--ice-preorder-accent);
  outline: none;
  box-shadow: inset 0 0 0 1px var(--ice-preorder-accent);
}

.ice-preorder .ice-preorder-company .select2-container {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
}

.ice-preorder .ice-preorder-company .select2-selection--single {
  min-height: 48px;
  height: auto;
  border: 1px solid #aebccd;
  border-radius: 8px;
  background: #fff;
}

.ice-preorder .ice-preorder-company .select2-selection--single .select2-selection__rendered {
  padding: 11px 36px 11px 14px;
  color: var(--ice-preorder-navy);
  font-size: 16px;
  line-height: 24px;
}

.ice-preorder .ice-preorder-company .select2-selection--single .select2-selection__arrow {
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.ice-preorder .ice-preorder-company__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 0 32px 28px;
  border: 0;
  background: transparent;
}

.ice-preorder .ice-preorder-company__save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 12px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--ice-preorder-accent);
  color: var(--ice-preorder-navy);
  font: inherit;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.ice-preorder .ice-preorder-company__save:hover {
  background: var(--ice-preorder-accent);
  color: var(--ice-preorder-navy);
  box-shadow: 0 4px 12px rgb(23 43 77 / 15%);
}

.ice-preorder .ice-preorder-company__save:focus-visible,
.ice-preorder .ice-preorder-company__continue:focus-visible {
  outline: 3px solid var(--ice-preorder-navy);
  outline-offset: 3px;
}

.ice-preorder .ice-preorder-company__save:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ice-preorder .ice-preorder-company__note {
  margin: 12px 0 0;
  color: var(--ice-preorder-muted);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.ice-preorder .ice-preorder-company__note strong {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--ice-preorder-accent);
  color: var(--ice-preorder-navy);
  font-weight: 600;
}

.ice-preorder .ice-preorder-company__error,
.ice-preorder .ice-preorder-company__field-error {
  padding: 0;
  border: 0;
  background: transparent;
  color: #b42318;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.ice-preorder .ice-preorder-company__error {
  margin: 0 0 24px;
}

.ice-preorder .ice-preorder-company__field-error {
  display: block;
  margin-top: 6px;
}

.ice-preorder .ice-preorder-company__continue {
  color: var(--ice-preorder-navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.ice-preorder .ice-preorder-company__continue:hover {
  color: var(--ice-preorder-navy);
}


.ice-preorder .ice-preorder-rebook__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0 0 32px;
  padding: 16px;
  border: 1px solid var(--ice-preorder-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px rgb(0 0 0 / 6%);
}


.ice-preorder .ice-preorder-rebook__price {
  margin: 0 0 12px;
  color: var(--ice-preorder-navy);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.ice-preorder .ice-preorder-rebook__price del {
  color: var(--ice-preorder-muted);
  font-size: 16px;
  font-weight: 400;
}

.ice-preorder .ice-preorder-rebook__price ins {
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.ice-preorder .ice-preorder-rebook__reserve {
  margin-top: auto;
}

.ice-preorder .ice-preorder-rebook__card h3,
.ice-preorder .ice-preorder-rebook__extras > h3 {
  margin: 0 0 10px;
  color: var(--ice-preorder-navy);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.ice-preorder .ice-preorder-rebook__location {
  margin: 0 0 8px;
  color: var(--ice-preorder-muted);
  font-size: 14px;
  line-height: 1.4;
}

.ice-preorder .ice-preorder-rebook__reserve .button,
.ice-preorder .ice-preorder-rebook__footer .button {
  min-width: 100px;
  min-height: 0;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.3;
  border: 0;
  border-radius: 6px;
  background: var(--ice-preorder-accent);
  color: var(--ice-preorder-navy);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.ice-preorder .ice-preorder-rebook__reserve .button.is-reserved {
  background: var(--ice-preorder-accent);
  color: var(--ice-preorder-navy);
  opacity: 1;
  cursor: default;
}

.ice-preorder .ice-preorder-rebook__reserve .button[aria-busy="true"] {
  opacity: 0.6;
  cursor: wait;
}

.ice-preorder .ice-preorder-rebook__message {
  margin: 12px 0 0;
  font-size: 14px;
}

.ice-preorder .ice-preorder-rebook__message:empty {
  display: none;
}

.ice-preorder .ice-preorder-rebook__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}

@media (max-width: 600px) {

  .ice-preorder .ice-preorder__steps {
    margin-bottom: 24px;
  }

  .ice-preorder .ice-preorder__step {
    padding: 0 4px;
  }

  .ice-preorder .ice-preorder__step-number {
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
    font-size: 14px;
  }

  .ice-preorder .ice-preorder__step:not(:last-child)::after {
    top: 16px;
    left: calc(50% + 21px);
    right: calc(-50% + 21px);
  }

  .ice-preorder .ice-preorder__step-label {
    font-size: 12px;
  }

  .ice-preorder .ice-preorder-company__header {
    padding: 24px 24px 0;
  }

  .ice-preorder .ice-preorder-company__body {
    padding: 24px;
  }

  .ice-preorder .ice-preorder-company__footer {
    padding: 0 24px 24px;
  }

  .ice-preorder .ice-preorder-company__fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .ice-preorder .ice-preorder-company__save {
    width: 100%;
  }
}
