.page.is-order-detail .page__top {
  display: none;
}

.page.is-order-detail .page-body {
  padding: 0;
  margin-top: 0;
}

.order-detail-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.order-detail__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.order-detail__crumb {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--brand);
  font: inherit;
  cursor: pointer;
}

.order-detail__crumb--current {
  color: var(--text);
  cursor: default;
}

.order-detail__crumb-icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}

.order-detail__page-title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
}

.order-detail__panel {
  box-sizing: border-box;
  width: 100%;
  padding: 32px;
}

.order-detail__hero {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.order-detail__hero-main {
  flex: 1 1 auto;
  min-width: 0;
}

.order-detail__title-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.order-detail__title {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
}

.order-detail__parent {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
}

.order-detail__grid {
  display: grid;
  grid-template-columns: repeat(3, 292px);
  column-gap: 32px;
  row-gap: 16px;
  align-content: start;
}

.order-detail__field {
  min-width: 0;
}

.order-detail__field-label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
}

.order-detail__help {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.85;
}

.order-detail__field-value {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.order-detail__hero-art {
  flex: 0 0 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding: 10px;
}

.order-detail__hero-art img {
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
}

.order-detail__sample-caption {
  margin: 0;
  max-width: 330px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  color: var(--muted);
}

.order-stepper-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(29, 42, 52, 0.06);
  padding: 16px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.order-stepper {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.order-stepper__step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  position: relative;
}

.order-stepper__step--has-in::before,
.order-stepper__step--has-out::after {
  content: "";
  position: absolute;
  top: 8px;
  height: 4px;
  margin-top: -2px;
  background: #d6dbe1;
  z-index: 0;
}

.order-stepper__step--has-in::before {
  left: 0;
  right: 50%;
}

.order-stepper__step--has-out::after {
  left: 50%;
  right: 0;
}

.order-stepper__step--has-in.is-in-complete::before,
.order-stepper__step--has-out.is-out-complete::after {
  background: #0072ce;
}

.order-stepper__dot {
  position: relative;
  z-index: 1;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 16px;
  height: 16px;
}

.order-stepper__dot.is-complete {
  border-radius: 50%;
  background: #0072ce;
}

.order-stepper__dot-icon {
  display: block;
}

.order-stepper__dot-icon--check {
  width: 12px;
  height: 12px;
}

.order-stepper__dot-icon--pending {
  width: 16px;
  height: 16px;
}

.order-stepper__label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.order-stepper__date {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
}

.orders-table tbody tr[data-order-id] {
  cursor: pointer;
}

.order-detail-empty {
  margin: 32px 0;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .order-detail__grid {
    grid-template-columns: repeat(2, minmax(0, 292px));
  }
}

@media (max-width: 960px) {
  .order-detail__panel {
    padding: 24px 0;
  }

  .order-detail__grid {
    grid-template-columns: 1fr;
  }

  .order-detail__hero {
    flex-direction: column;
  }

  .order-detail__hero-art {
    width: 100%;
    align-items: center;
  }

  .order-detail__sample-caption {
    text-align: center;
  }
}
