/* Order Robe Doors - layout/feature only. Type, colour, bands: site.css (.typo / civic tokens). */

/* Square chrome for this stylesheet only (linked on order pages).
   Leave .btn / circular select ticks / help icons / spinner rounded. */
.form-control,
.form-select,
.input-group-text,
.alert,
.modal-content,
.cs-carousel,
.gallery-linkkey-image,
.gallery-linkkey-placeholder--thumb,
.gallery-linkkey-placeholder--inline,
.gallery-linkkey-placeholder--minimal,
.video-wrapper,
.civic-youtube-facade,
.ord-measure-diagram,
.ord-measure-diagram-wrap img,
.ord-measure-guide-thumb img,
.address-search-box,
.ord-price-badge,
.ord-wizard-note,
.ord-summary-set,
.ord-summary-delivery,
.ord-frame-swatch,
.ord-insert-mode-option,
.ord-insert-collapse,
.ord-tyro-pay-form,
.ord-payment-processing-card {
  border-radius: 0;
}

.ord-wizard {
  --ord-muted: #4a4a54;
  margin-bottom: 20px;
}

.ord-wizard-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  border-bottom: 1px solid #e5e5e5;
}

.ord-wizard-steps li {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0 4px 10px;
  position: relative;
}

.ord-wizard-steps a,
.ord-wizard-steps span {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ord-muted);
  text-decoration: none;
}

.ord-wizard-steps .is-done a {
  color: var(--civic-heading);
}

.ord-wizard-steps .is-current span,
.ord-wizard-steps .is-current a {
  color: var(--civic-accent);
  font-weight: 600;
  font-size: 14px;
}

.ord-wizard-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 8px 0 20px;
}

.ord-wizard-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  /* Square grey chrome — #f0f0f0 reads on white bands (#fafafa was too close to #fff) */
  border: 1px solid #ddd;
  border-radius: 0;
  overflow: hidden;
  background: #f0f0f0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.ord-wizard-card-selectable {
  width: 100%;
  min-height: 44px;
}

.ord-wizard-card.is-selected {
  border-color: #1b12b2;
  box-shadow: none;
  outline: 2px solid #1b12b2;
  outline-offset: -1px;
  background: #eef0ff;
}

.ord-wizard-card.is-selected::before {
  display: none;
}

.ord-wizard-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #eee;
}

.ord-wizard-card .cs-carousel,
.ord-wizard-card .ord-door-thumb-carousel,
.ord-wizard-card .ord-door-style-thumb-carousel,
.ord-wizard-card .gallery-linkkey-image {
  border-radius: 0;
  box-shadow: none;
  border-color: #ddd;
}

/* Top padding reserves a band for the select circle above the title text.
   flex:1 fills remaining card height so the price badge can pin to the card bottom. */
.ord-wizard-card-body {
  --ord-select-band: 40px;
  z-index: 2;
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: var(--ord-select-band) 14px 44px 14px;
  background: #f0f0f0;
}

.ord-wizard-card.is-selected .ord-wizard-card-body {
  background: #eef0ff;
}

/* Empty circle on unselected options — in the body band above the writing */
.ord-wizard-card-selectable > .ord-wizard-card-body::after,
.ord-wizard-card[data-ord-door-preset] > .ord-wizard-card-body::after,
.ord-door-custom-card > .ord-wizard-card-body::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.ord-wizard-card.is-selected > .ord-wizard-card-body::after {
  border: none;
  background: #cc0000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.ord-wizard-card-body h3 {
  margin: 0 0 4px;
}

.ord-wizard-card-body p {
  margin: 0;
  line-height: 1.45;
}

.ord-wizard-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.ord-wizard-actions-stacked .ord-wizard-btn {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.ord-intro-start {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}

.ord-intro-start .ord-wizard-btn {
  min-height: 48px;
}

.ord-wizard-block {
  margin: 0;
}

.ord-wizard-heading {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: var(--civic-block-gap, 12px);
}

.ord-wizard-heading h2 {
  margin: 0;
}

.ord-wizard-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--civic-heading);
  line-height: 1;
  cursor: pointer;
}

.ord-wizard-help i {
  font-size: 22px;
}

.ord-wizard-help:focus,
.ord-wizard-help:hover {
  color: var(--civic-accent);
  outline: none;
}

.ord-wizard-help:focus-visible {
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.4);
}

.ord-measure-guide-modal-video {
  max-width: 100%;
}

#MeasureGuideModal .modal-title {
  color: var(--civic-heading);
}

.ord-wizard-block .ord-wizard-cards {
  margin-top: 0;
}

.ord-wizard-block .ord-door-room {
  margin-bottom: 0;
}

.ord-measure-guide {
  margin-bottom: 0;
}

.ord-wizard-btn-primary {
  font-weight: 600;
}

.ord-wizard-cards-compact {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.ord-wizard-cards-style {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.ord-wizard-cards-style .ord-wizard-card-body {
  padding: var(--ord-select-band, 40px) 10px 44px;
}

.ord-wizard-cards-style .ord-wizard-card-body h3 {
  margin-bottom: 2px;
}

.ord-wizard-cards-style .ord-wizard-card img,
.ord-wizard-cards-style .ord-door-style-img,
.ord-wizard-cards-style .gallery-linkkey-image img {
  aspect-ratio: 3 / 2;
}

.ord-wizard-cards-style .ord-door-style-thumb-carousel,
.ord-wizard-cards-style .gallery-linkkey-image,
.ord-wizard-cards-style .gallery-linkkey-placeholder--thumb {
  width: 100%;
}

.ord-door-style-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  background: #f4f4f4;
}

.ord-wizard-card-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0 0 2px;
}

.ord-wizard-card-heading h3 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.ord-price-badge {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  background: #eef2f7;
  color: var(--civic-heading, #1a3a5c);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.ord-price-badge.is-included,
.ord-price-badge.is-extra,
.ord-price-badge.is-base {
  background: #eef2f7;
  color: var(--civic-heading, #1a3a5c);
}

.ord-card-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: -10px -8px -10px 0;
  border-radius: 50%;
  color: var(--civic-heading);
  text-decoration: none;
  line-height: 1;
}

.ord-card-help i {
  font-size: 18px;
}

.ord-card-help:focus,
.ord-card-help:hover {
  color: var(--civic-accent);
  outline: none;
}

.ord-card-help:focus-visible {
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.4);
}

.ord-wizard-card-compact .ord-wizard-card-body {
  padding: var(--ord-select-band, 40px) 10px 44px;
}

.ord-wizard-card-compact .ord-wizard-card-body h3 {
  margin-bottom: 2px;
}

.ord-wizard-card-compact .ord-door-thumb-carousel {
  --cs-ar: 3 / 2;
}

.ord-wizard-card-compact .ord-door-thumb-img,
.ord-wizard-card-compact .ord-door-thumb-placeholder {
  aspect-ratio: 3 / 2;
}

.ord-wizard-card-compact .ord-door-thumb-arrow {
  display: none;
}

.ord-door-room {
  margin-bottom: 20px;
}

.ord-door-room-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.ord-door-room-input {
  width: 100%;
  max-width: 20rem;
  min-height: 48px;
  font-size: 16px;
  border-radius: 0;
  border: 1px solid #ddd;
  background: #f0f0f0;
}

.ord-door-room-input:focus {
  border-color: #1b12b2;
  background: #fff;
  box-shadow: none;
}

.ord-optional {
  font-weight: normal;
  color: var(--ord-muted);
  font-size: 14px;
}

.ord-door-thumb-carousel {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.ord-door-thumb-carousel .ord-door-thumb-track {
  min-height: 0;
}

.ord-door-thumb-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #f4f4f4;
}

.ord-door-thumb-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #ececec;
}

.ord-door-thumb-dots {
  display: none;
}

.ord-door-thumb-arrow {
  font-size: 14px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Order wizard cards only: small, nearly invisible arrows until the card is hovered */
.ord-wizard-card .cs-arrow {
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  font-size: 12px;
  opacity: 0.12;
  background: rgba(0, 0, 0, 0.4);
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .ord-wizard-card .cs-arrow {
    opacity: 0.08;
  }

  .ord-wizard-card:hover .cs-arrow,
  .ord-wizard-card:focus-within .cs-arrow {
    opacity: 1;
  }
}

@media (hover: none), (pointer: coarse) {
  .ord-wizard-card .cs-arrow {
    opacity: 0.55;
  }
}

.ord-door-custom-note {
  font-size: 14px;
  line-height: 1.45;
}

.ord-door-custom-card {
  cursor: default;
}

.ord-door-custom-card .ord-wizard-card-heading label {
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.ord-door-custom-card .ord-door-count-input {
  width: 100%;
  max-width: none;
  min-height: 44px;
  font-size: 16px;
}

.ord-door-custom-card .ord-door-custom-range {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
}

.ord-door-custom-suffix {
  font-size: 15px;
}

.ord-door-warn {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.ord-door-warn-very-high {
  border-width: 2px;
  font-size: 15px;
}

.ord-wizard-note {
  margin-top: 20px;
  padding: 16px;
  border-radius: 0;
  background: #f7f7f7;
  border-left: 4px solid #cc0000;
}

.ord-wizard-set-label {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--civic-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ord-wizard-set-count {
  font-size: 13px;
  color: var(--ord-muted);
}

.ord-wizard-layout {
  --ord-sticky-top: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ord-wizard-progress {
  min-width: 0;
}

.ord-wizard-main {
  --ord-block-gap: 12px;
  min-width: 0;
}

.ord-set-progress {
  margin: 0;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #f0f0f0;
}

.ord-set-progress-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
}

.ord-set-progress-summary::-webkit-details-marker {
  display: none;
}

    .ord-set-progress-summary::after {
  content: "";
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  margin-left: auto;
  border-right: 2px solid #1b12b2;
  border-bottom: 2px solid #1b12b2;
  transform: rotate(45deg);
  margin-top: -4px;
}

.ord-set-progress[open] > .ord-set-progress-summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.ord-set-progress-summary-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ord-set-progress-kicker,
.ord-set-progress-heading {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--civic-heading);
}

.ord-set-progress-summary-detail,
.ord-set-progress-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.ord-set-progress-body {
  padding: 4px 14px 14px;
  border-top: 1px solid #e5e5e5;
}

.ord-set-progress-heading,
.ord-set-progress-title {
  display: none;
}

.ord-set-progress-count {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--ord-muted);
}

.ord-set-progress-group {
  margin: 0 0 14px;
  padding: 10px 0 0;
  border-top: 1px solid #f0f0f0;
}

.ord-set-progress-group:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.ord-set-progress-body h2 {
  margin-top: 0;
  font-size: 15px !important;
  line-height: 1.35 !important;
}

.ord-set-progress-body .ord-set-progress-heading {
  font-size: 12px !important;
  line-height: 1.35 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ord-set-progress-group h2 {
  margin: 0 0 8px;
  font-size: 15px !important;
  font-weight: 600;
  line-height: 1.35;
}

.ord-set-progress-group h2 a {
  color: inherit;
  text-decoration: none;
}

.ord-set-progress-group h2 a:hover {
  text-decoration: underline;
}

.ord-set-progress-group.is-current {
  margin-left: -10px;
  margin-right: -10px;
  padding: 10px;
  border-top: 0;
  border-radius: 0;
  background: var(--civic-band-odd, rgba(27, 18, 178, 0.04));
}

.ord-set-progress-group.is-current h2 {
  color: var(--civic-accent);
  font-size: 17px !important;
}

.ord-set-progress-group dl {
  margin: 0;
}

.ord-set-progress-group dl > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 6px 10px;
  padding: 3px 0;
  align-items: start;
}

.ord-set-progress-group dt {
  font-size: 13px;
  font-weight: 400;
  color: var(--ord-muted);
}

.ord-set-progress-group dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.ord-set-progress-group dd.is-empty {
  font-weight: 400;
  color: var(--ord-muted);
}

.ord-wizard-sets-summary {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #e5e5e5;
}

.ord-wizard-sets-summary h2 {
  margin-bottom: 8px;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 600;
}

.ord-wizard-sets-summary .h5,
.ord-wizard-sets-summary .h6 {
  margin-bottom: 8px;
}

.ord-wizard-sets-summary a {
  margin-left: 6px;
  white-space: nowrap;
}

.ord-order-progress-sets {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.ord-order-progress-sets li {
  margin: 0 0 10px;
}

.ord-order-progress-sets a {
  display: block;
  font-weight: 600;
  color: var(--civic-heading);
}

.ord-order-progress-sets span {
  display: block;
  font-size: 13px;
  color: var(--ord-muted);
}

.ord-order-progress-delivery {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.ord-order-progress-delivery > div {
  display: grid;
  grid-template-columns: 5.75rem 1fr;
  gap: 6px 10px;
  padding: 3px 0;
}

.ord-order-progress-delivery dt {
  font-size: 13px;
  font-weight: 400;
  color: var(--ord-muted);
}

.ord-order-progress-delivery dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.ord-order-progress-delivery dd.is-empty {
  font-weight: 400;
  color: var(--ord-muted);
}

.ord-progress-price {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #e5e5e5;
}

.ord-progress-price-heading {
  margin: 0 0 8px;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 600;
}

.ord-progress-price dl {
  margin: 0;
}

.ord-progress-price dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 3px 0;
}

.ord-progress-price dt {
  font-size: 13px;
  font-weight: 400;
  color: var(--ord-muted);
  min-width: 0;
}

.ord-progress-price dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.ord-progress-price dd.is-empty {
  font-weight: 400;
  color: var(--ord-muted);
}

.ord-progress-price-total dt,
.ord-progress-price-total dd {
  font-weight: 700;
}

.ord-progress-price-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ord-muted);
}

.ord-summary-total {
  margin: 0 0 20px;
  font-size: 18px;
}

.ord-wizard-main > .ord-wizard-btn {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ord-summary-set {
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid #e5e5e5;
  border-radius: 0;
  background: #fff;
}

.ord-summary-set-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.ord-summary-set-head h3 {
  margin: 0;
  font-size: 18px;
}

.ord-summary-dl {
  margin: 0;
}

.ord-summary-dl > div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 6px 12px;
  padding: 4px 0;
}

.ord-summary-dl dt {
  font-weight: 400;
  color: var(--ord-muted);
}

.ord-summary-dl dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.ord-summary-sub {
  display: block;
  font-weight: 400;
  color: var(--ord-muted);
  font-size: 13px;
}

.ord-summary-delivery {
  margin: 8px 0 20px;
  padding: 14px;
  border-radius: 0;
  background: #f7f7f7;
}

.ord-summary-delivery h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.ord-payment-form {
  max-width: 40rem;
}

.ord-payment-field {
  margin-bottom: 16px;
}

.ord-payment-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.ord-payment-field .form-control,
.ord-payment-field .form-select,
.ord-door-count-input,
.ord-delivery-address-input,
.ord-insert-select {
  min-height: 48px;
  font-size: 16px;
  border-radius: 0;
}

.ord-payment-field textarea.form-control {
  min-height: 96px;
}

.ord-payment-static {
  margin: 0;
  font-weight: 600;
}

.ord-payment-row {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ord-payment-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.4;
}

.ord-payment-check input {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.ord-address-box {
  --ord-block-gap: 12px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.ord-address-fields {
  display: flex;
  flex-direction: column;
  gap: var(--ord-block-gap);
}

.ord-address-fields .address-search {
  width: 100%;
  float: none;
  margin-bottom: 0;
}

.ord-address-actions {
  display: flex;
  flex-direction: column;
  gap: var(--ord-block-gap);
}

.ord-address-note {
  margin-top: var(--ord-block-gap);
}

.ord-address-box > .alert {
  margin-top: var(--ord-block-gap);
  margin-bottom: 0;
}

.ord-address-btn {
  width: 100%;
  min-height: 48px;
  margin: 0;
}

.ord-address-box .address-search-box {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 16px;
  text-align: left;
}

.ord-address-inline .ord-address-result {
  margin-top: 8px;
  margin-bottom: 0;
}

.ord-address-inline .ord-field-hint {
  margin-top: 8px;
}

.ord-autofill-decoy {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.civic-youtube-facade {
  position: relative;
  cursor: pointer;
  background: #000;
  touch-action: manipulation;
}

.civic-youtube-facade .civic-youtube-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.civic-youtube-facade .civic-youtube-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  margin: -24px 0 0 -34px;
  border-radius: 14px;
  background: #ff0000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.civic-youtube-facade .civic-youtube-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -10px 0 0 -6px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.civic-youtube-facade iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.pac-container {
  z-index: 2147483647 !important;
  max-width: calc(100vw - 16px);
  box-sizing: border-box;
}

@media (min-width: 576px) {
  .ord-wizard {
    margin-bottom: 24px;
  }

  .ord-wizard-steps {
    gap: 8px 0;
    margin-bottom: 20px;
  }

  .ord-wizard-steps li {
    flex: 1 1 7rem;
    min-width: 7rem;
    padding: 0 6px 12px;
  }

  .ord-wizard-steps a,
  .ord-wizard-steps span {
    font-size: 13px;
  }

  .ord-wizard-steps .is-current span,
  .ord-wizard-steps .is-current a {
    font-size: 16px;
  }

  .ord-wizard-cards-compact {
    gap: 14px;
  }

  .ord-wizard-cards-style {
    gap: 14px;
  }
}

@media (min-width: 768px) {
  .ord-address-fields {
    flex-direction: row;
    align-items: stretch;
  }

  .ord-address-fields .address-search {
    flex: 1 1 auto;
  }

  .ord-address-fields .ord-address-actions {
    flex: 0 0 12.5rem;
  }

  .ord-wizard-actions-stacked {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .ord-wizard-actions-stacked .ord-wizard-btn {
    width: auto;
    min-width: 140px;
  }

  .ord-wizard-main > .ord-wizard-btn {
    width: auto;
    min-width: 180px;
  }

  .ord-payment-row {
    flex-direction: row;
    gap: 16px;
  }

  .ord-payment-row .ord-payment-field {
    flex: 1 1 0;
  }

  .ord-wizard-card:hover {
    border-color: #bbb;
    box-shadow: none;
  }

  .ord-wizard-card.is-selected:hover {
    border-color: #1b12b2;
    outline: 2px solid #1b12b2;
    outline-offset: -1px;
    box-shadow: none;
  }
}

@media (min-width: 992px) {
  .ord-wizard {
    margin-bottom: 28px;
  }

  .ord-wizard-steps {
    margin-bottom: 24px;
  }

  .ord-wizard-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }

  .ord-wizard-progress {
    flex: 0 0 256px;
    width: 256px;
    max-width: 256px;
    align-self: flex-start;
    position: sticky;
    top: var(--ord-sticky-top);
    max-height: calc(100vh - var(--ord-sticky-top) - 1rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 2;
  }

  .ord-wizard-main {
    flex: 1 1 auto;
  }

  .ord-wizard-main .ord-wizard-block {
    padding-top: 48px;
    padding-bottom: 48px;
    /* keep horizontal band pad from site.css (--ord-band-pad-x) */
  }

  .ord-wizard-main .ord-wizard-block:first-of-type {
    padding-top: 16px;
  }

  .ord-set-progress-summary {
    display: none;
  }

  .ord-set-progress-body {
    display: block !important;
    padding: 14px;
    border-top: 0;
  }

  .ord-set-progress-heading,
  .ord-set-progress-title {
    display: block;
  }

  .ord-set-progress-heading {
    margin-bottom: 4px;
  }

  .ord-set-progress-group dl > div {
    grid-template-columns: 5.75rem 1fr;
  }

  .ord-wizard-cards {
    gap: 20px;
    margin-bottom: 24px;
  }

  .ord-wizard-cards-compact {
    gap: 14px;
  }

  .ord-wizard-card-compact .ord-wizard-card-body {
    padding: var(--ord-select-band, 40px) 12px 44px;
  }

  .ord-wizard-card-compact .ord-wizard-card-body h3 {
    margin-bottom: 4px;
  }

  .ord-wizard-card-compact .ord-door-thumb-carousel {
    --cs-ar: 4 / 3;
  }

  .ord-wizard-card-compact .ord-door-thumb-img,
  .ord-wizard-card-compact .ord-door-thumb-placeholder {
    aspect-ratio: 4 / 3;
  }

  .ord-wizard-card-compact .ord-door-thumb-arrow {
    display: inline-flex;
  }

  .ord-wizard-card-body {
    padding: var(--ord-select-band, 40px) 16px 48px;
  }

  .ord-wizard-card-body h3 {
    margin-bottom: 6px;
  }

  .ord-wizard-cards-style {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .ord-wizard-cards-style .ord-wizard-card-body {
    padding: var(--ord-select-band, 40px) 16px 48px;
  }

  .ord-wizard-cards-style .ord-wizard-card-body h3 {
    margin-bottom: 2px;
  }

  .ord-wizard-cards-style .ord-wizard-card img,
  .ord-wizard-cards-style .ord-door-style-img,
  .ord-wizard-cards-style .gallery-linkkey-image img {
    aspect-ratio: 4 / 3;
  }

  .ord-address-box .address-search-box {
    min-height: 56px;
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  .ord-wizard-cards-compact,
  .ord-wizard-cards-style {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ord-wizard-steps-extended {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 4px;
}

.ord-wizard-steps-extended li {
  flex: 1 1 auto;
  min-width: 3.5rem;
}

.ord-measure-guide-thumb {
  max-height: 180px;
}

.ord-measure-diagram-wrap .gallery-linkkey-image,
.ord-measure-diagram-wrap .gallery-linkkey-placeholder--inline,
.ord-measure-diagram-wrap .gallery-linkkey-placeholder--minimal {
  margin-left: auto;
  margin-right: auto;
}

.ord-measure-diagram-wrap .ord-measure-diagram,
.ord-measure-diagram-wrap .gallery-linkkey-image img {
  max-height: 150px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.ord-measure-diagram-wrap {
  text-align: center;
  min-width: 0;
}

.ord-measure-diagram {
  max-height: 150px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.ord-measure-layout {
  display: grid;
  gap: 8px 6px;
  width: 100%;
  max-width: min(100%, 720px);
  margin: 0 auto 20px;
  grid-template-columns: 5.75rem minmax(0, 1fr) 5.75rem;
  grid-template-areas:
    "top top top"
    "left diagram right"
    "bottom bottom bottom";
  align-items: center;
}

.ord-measure-top {
  grid-area: top;
  justify-self: center;
  width: min(100%, 200px);
}

.ord-measure-left {
  grid-area: left;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
}

.ord-measure-diagram-center {
  grid-area: diagram;
  width: 100%;
  min-width: 0;
}

.ord-measure-right {
  grid-area: right;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
}

.ord-measure-bottom {
  grid-area: bottom;
  justify-self: center;
  width: min(100%, 200px);
}

.ord-measure-field {
  text-align: center;
}

.ord-measure-field-heading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 100%;
  margin: 0 auto 4px;
}

.ord-measure-field-heading label {
  display: block;
  margin: 0;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}

.ord-measure-field-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--civic-heading);
  line-height: 1;
  cursor: pointer;
}

.ord-measure-field-help i {
  font-size: 18px;
}

.ord-measure-field-help:focus,
.ord-measure-field-help:hover {
  color: var(--civic-accent);
  outline: none;
}

.ord-measure-field-help:focus-visible {
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.4);
}

.ord-measure-field .form-control {
  min-height: 44px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding-left: 4px;
  padding-right: 4px;
  text-align: center;
  font-size: 16px;
  border-radius: 0;
}

.ord-measure-left .ord-measure-field-heading,
.ord-measure-right .ord-measure-field-heading {
  flex-wrap: wrap;
}

.ord-measure-left .ord-measure-field-heading label,
.ord-measure-right .ord-measure-field-heading label {
  font-size: 12px;
  max-width: calc(100% - 32px);
}

.ord-measure-help-disclaimer {
  font-size: 14px;
}

#MeasureFieldHelpModal .modal-title {
  color: var(--civic-heading);
}

.ord-field-hint {
  font-size: 13px;
  color: var(--ord-muted);
  margin-top: 4px;
}

@media (min-width: 576px) {
  .ord-measure-layout {
    gap: 10px 12px;
    grid-template-columns: 7.5rem minmax(0, 1fr) 7.5rem;
  }

  .ord-measure-top,
  .ord-measure-bottom {
    width: min(100%, 240px);
  }

  .ord-measure-field-heading label {
    font-size: 14px;
  }

  .ord-measure-left .ord-measure-field-heading label,
  .ord-measure-right .ord-measure-field-heading label {
    font-size: 13px;
  }

  .ord-measure-diagram,
  .ord-measure-diagram-wrap .ord-measure-diagram,
  .ord-measure-diagram-wrap .gallery-linkkey-image img {
    max-height: 240px;
  }
}

@media (min-width: 768px) {
  .ord-measure-layout {
    gap: 12px 16px;
    grid-template-columns: 8.5rem minmax(0, 1fr) 8.5rem;
  }

  .ord-measure-top,
  .ord-measure-bottom {
    width: min(100%, 280px);
  }

  .ord-measure-field-help {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .ord-measure-diagram,
  .ord-measure-diagram-wrap .ord-measure-diagram,
  .ord-measure-diagram-wrap .gallery-linkkey-image img {
    max-height: 360px;
  }
}

.ord-wizard-cards-frame {
  grid-template-columns: repeat(2, 1fr);
}

.ord-wizard-card-frame {
  min-height: 88px;
}

.ord-frame-swatch {
  display: block;
  height: 48px;
  margin: 12px 14px 0;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.ord-frame-swatch-chrome {
  background: linear-gradient(135deg, #e8e8e8, #ffffff 45%, #c0c0c0);
}

.ord-frame-swatch-matnatural {
  background: linear-gradient(135deg, #b8b8b8, #d8d8d8);
}

.ord-frame-swatch-black {
  background: #1a1a1a;
}

.ord-frame-swatch-white {
  background: #f7f7f7;
}

.ord-insert-mode {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}

.ord-insert-mode-label {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.ord-insert-mode-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ord-insert-mode-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
  cursor: pointer;
  margin: 0;
}

.ord-insert-mode-option:has(input:checked) {
  border-color: #cc0000;
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.4);
  background: rgba(27, 18, 178, 0.08);
}

.ord-insert-mode-option input {
  margin-top: 3px;
  min-width: 18px;
  min-height: 18px;
}

.ord-insert-field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.ord-insert-select {
  min-height: 44px;
}

.ord-insert-group {
  margin-bottom: 16px;
}

.ord-insert-group-title {
  margin: 0 0 var(--civic-block-gap, 12px);
  font-size: 14px;
  font-weight: 600;
  color: var(--civic-heading);
}

.ord-insert-door-block {
  margin-bottom: 24px;
}

.ord-insert-door-block > h3 {
  margin: 0 0 var(--civic-block-gap, 12px);
  font-size: 16px;
  font-weight: 600;
  color: var(--civic-heading);
}

.ord-insert-collapse,
.ord-section-collapse {
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  scroll-margin-top: calc(var(--ord-sticky-top, 5.5rem) + 2.5rem);
}

.ord-section-collapse-body {
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.22s ease;
}

.ord-section-collapse.is-closing > .ord-section-collapse-summary,
.ord-section-collapse.is-opening > .ord-section-collapse-summary {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .ord-section-collapse-body {
    transition: none;
  }
}

.ord-insert-collapse {
  margin-bottom: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: #fff;
}

.ord-insert-collapse-summary,
.ord-section-collapse-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--civic-heading);
}

.ord-section-collapse-summary {
  display: block;
  padding: 0 0 var(--civic-block-gap, 12px);
  font-size: 1.25rem;
  line-height: 1.4;
  min-height: 0;
}

.ord-section-collapse-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ord-section-collapse-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ord-section-collapse-answer {
  margin: 0;
  padding: 0 0 0 calc(0.45em + 8px);
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--bs-secondary, #ff7033);
}

.ord-insert-collapse-summary {
  padding: 10px 14px;
}

.ord-insert-collapse-summary::-webkit-details-marker,
.ord-section-collapse-summary::-webkit-details-marker {
  display: none;
}

.ord-insert-collapse-summary::before,
.ord-section-collapse-title-row::before {
  content: "";
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.ord-insert-collapse[open] > .ord-insert-collapse-summary::before,
.ord-section-collapse[open] .ord-section-collapse-title-row::before {
  transform: rotate(45deg);
}

.ord-section-collapse:not([open]) > .ord-section-collapse-summary {
  padding-bottom: 0;
  margin-bottom: 0;
}

.ord-insert-collapse .ord-insert-choice {
  padding: 0 14px 14px;
}

.ord-section-collapse-body > p:first-child {
  margin-top: 0;
}

.ord-insert-swatch {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.ord-insert-swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.18) 35%, rgba(255, 255, 255, 0.02) 55%, rgba(255, 255, 255, 0.12) 100%);
  pointer-events: none;
}

.ord-track-group {
  margin-bottom: 16px;
}

.ord-track-group-title {
  margin: 0 0 var(--civic-block-gap, 12px);
  font-size: 14px;
  font-weight: 600;
  color: var(--civic-heading);
}

.ord-wizard-cards-track .ord-wizard-card-track .ord-wizard-card-body h3 {
  font-size: 15px;
}

.ord-wizard-card-track {
  min-height: 72px;
}

.ord-tyro-pay-form {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #f9f9f9;
}

.ord-tyro-error {
  color: #c00;
  margin-bottom: 1rem;
}

.ord-payment-notes {
  margin-top: 1.5rem;
  padding-left: 1.2rem;
}

.ord-payment-layout {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.ord-payment-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 1rem;
}

.ord-payment-submit a[aria-disabled="true"] {
  opacity: 0.6;
  pointer-events: none;
}

body.ord-payment-processing-open {
  overflow: hidden;
}

.ord-payment-processing[hidden] {
  display: none !important;
}

.ord-payment-processing {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.88);
}

.ord-payment-processing-card {
  width: min(100%, 30rem);
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.ord-payment-processing-card h3 {
  margin-bottom: 0.75rem;
}

.ord-payment-processing-card p {
  margin-bottom: 0;
}

.ord-payment-spinner {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1rem;
  border: 4px solid #ddd;
  border-top-color: var(--civic-heading);
  border-radius: 50%;
  animation: ord-payment-spin 0.8s linear infinite;
}

@keyframes ord-payment-spin {
  to {
    transform: rotate(360deg);
  }
}
