.order-page {
  padding: 30px 0 45px;
}

.order-card {
  background: #fff;
  border: 1px solid #d8dfeb;
  box-shadow: 0 10px 30px rgba(5, 35, 70, 0.08);
  padding: 28px;
}

.order-card h4 {
  margin-bottom: 10px;
}

.order-card p {
  margin-bottom: 14px;
}

.store-section + .store-section {
  margin-top: 28px;
}

.store-section:last-of-type {
  margin-bottom: 34px;
}

.store-section-copy {
  margin-bottom: 10px;
}

.order-details-title {
  margin-top: 0;
  padding-top: 0;
}

.workflow-block {
  margin-top: 34px;
}

.workflow-empty {
  color: #5d6d80;
  margin-bottom: 0;
}

.workflow-section + .workflow-section {
  margin-top: 24px;
}

.workflow-title {
  margin-bottom: 10px;
}

.workflow-description {
  margin-bottom: 14px;
}

.store-section {
  border: 1px solid #d8dfeb;
  border-radius: 4px;
  overflow: hidden;
}

.store-section-toggle {
  align-items: center;
  background: #f4f8fc;
  border: 0;
  color: #0d2b4d;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 700;
  justify-content: space-between;
  padding: 14px 16px;
  text-align: left;
  width: 100%;
}

.store-section-toggle-icon {
  font-size: 24px;
  line-height: 1;
}

.store-section-panel {
  padding: 16px;
}

.store-subsection + .store-subsection {
  margin-top: 24px;
}

.store-subsection-title {
  color: #004a80;
  margin: 0 0 10px;
  padding-top: 0;
}

.order-items-store {
  border-top: 0;
}

.order-status {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 4px;
  display: none;
}

.order-mode {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 4px;
  display: none;
}

.order-status.is-visible {
  display: block;
}

.order-mode.is-visible {
  display: block;
}

.order-status.is-success {
  background: #edf8ef;
  color: #1f5f2e;
}

.order-mode.is-success {
  background: #edf8ef;
  color: #1f5f2e;
}

.order-status.is-error {
  background: #fbefef;
  color: #8a1f1f;
}

.order-mode.is-demo {
  background: #fff6e5;
  color: #855b00;
}

.order-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.order-section-title {
  margin: 0 0 12px;
  color: #004a80;
}

.order-items {
  border-top: 1px solid #d8dfeb;
}

.order-item {
  align-items: center;
  border-bottom: 1px solid #d8dfeb;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 92px 110px;
  padding: 14px 0;
}

.order-item-store {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.order-item-media img {
  border: 1px solid #d8dfeb;
  display: block;
  height: 64px;
  object-fit: cover;
  width: 64px;
}

.order-item-actions {
  text-align: right;
}

.order-item-title {
  font-weight: 700;
}

.order-item-price {
  color: #4d5f77;
}

.order-qty input {
  width: 78px;
}

.order-fields {
  display: grid;
  gap: 16px;
}

.order-field label {
  color: #0d2b4d;
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.order-required {
  color: #8a1f1f;
}

.order-field-help {
  color: #5d6d80;
  font-size: 13px;
  margin-top: 5px;
}

.order-upload-status {
  font-size: 13px;
  margin-top: 6px;
}

.order-upload-status.is-pending {
  color: #855b00;
}

.order-upload-status.is-success {
  color: #1f5f2e;
}

.order-field input,
.order-field textarea {
  border: 1px solid #bcc8d7;
  border-radius: 4px;
  box-sizing: border-box;
  display: block;
  font: inherit;
  padding: 10px 12px;
  width: 100%;
}

.order-field textarea {
  min-height: 130px;
  resize: vertical;
}

.order-summary {
  background: #f4f8fc;
  border: 1px solid #d8dfeb;
  padding: 18px;
}

.item-configurator {
  border-bottom: 1px solid #d8dfeb;
  padding: 0 0 16px;
}

.item-configurator-inner {
  background: #f8fbfe;
  border: 1px solid #d8dfeb;
  padding: 18px;
}

.item-configurator-title {
  color: #004a80;
  margin: 0 0 10px;
  padding-top: 0;
}

.item-configurator-copy {
  margin-bottom: 14px;
}

.item-configurator-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.btn-alt {
  background: #d7e2ef;
  color: #0d2b4d;
}

.basket-entry + .basket-entry {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #c6d5e6;
}

.basket-entry-head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.basket-entry-title {
  font-weight: 700;
}

.basket-entry-meta {
  color: #4d5f77;
  font-size: 13px;
  margin-top: 4px;
}

.basket-entry-remove {
  background: none;
  border: 0;
  color: #0e6bb8;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.basket-entry-details {
  margin-top: 10px;
}

.basket-entry-detail {
  color: #4d5f77;
  font-size: 13px;
}

.basket-entry-detail + .basket-entry-detail {
  margin-top: 4px;
}

.order-summary-row,
.order-summary-total {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.order-summary-row + .order-summary-row {
  margin-top: 10px;
}

.order-summary-total {
  border-top: 1px solid #c6d5e6;
  font-weight: 700;
  margin-top: 16px;
  padding-top: 14px;
}

.order-actions {
  margin-top: 18px;
}

.order-actions .btn {
  min-width: 220px;
}

.order-redirect-note {
  color: #5d6d80;
  font-size: 13px;
  margin-top: 10px;
}

.order-disclaimer {
  color: #5d6d80;
  font-size: 13px;
  margin-top: 12px;
}

.order-loading {
  color: #5d6d80;
}

@media only screen and (max-width: 767px) {
  .order-card {
    padding: 22px 18px;
  }

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

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

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