:root {
  --order-black: #000000;
  --order-text: #2a2a2a;
  --order-muted: #5f5f5f;
  --order-border: #dfdfdf;
  --order-white: #ffffff;
  --order-step: #cfcbff;
  --order-blue: #2395ff;
  --order-orange: #ff9900;
  --order-green: #31c56c;
  --order-green-soft: rgba(49, 197, 108, 0.05);
  --order-green-message: #d8ffe7;
  --order-font: "Helvetica Neue", Arial, sans-serif;
}


.order-guide-page {
  min-height: 100vh;
  padding: 40px 20px;
}

.order-guide {
  display: flex;
  width: min(100%, 849px);
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
}

.order-guide__header,
.order-guide__steps {
  display: flex;
  flex-direction: column;
}

.order-guide__header {
  gap: 8px;
}

.order-guide__header h1,
.order-guide__header p,
.order-step h2,
.order-step p,
.order-note h2,
.order-note p {
  margin: 0;
}

.order-guide__header h1 {
  font-size: 20px;
  font-weight: 550;
  line-height: 1.1;
}

.order-guide__header p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.order-guide__steps {
  gap: 12px;
}

.order-guide__steps img {
  display: block;
  max-width: 473px;
  height: auto;
}

.order-guide__steps a {
  color: var(--order-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.order-step,
.order-note {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--order-border);
  border-radius: 8px;
  background: var(--order-white);
}

.order-step__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-step__number {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--order-step);
  font-size: 16px;
  font-weight: 550;
}

.order-step h2,
.order-note h2 {
  font-size: 16px;
  font-weight: 550;
  line-height: 1.1;
}

.order-step p,
.order-note p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.order-step strong {
  font-weight: 550;
}

.order-step__picture,
.order-note__picture {
  align-self: center;
  overflow: hidden;
  border-radius: 10px;
  background: var(--order-white);
}

.order-step__pictures,
.order-note__pictures {
/* 
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
 */
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
}

.order-step__picture {
  width: 100%;
}

.order-guide__steps .order-step__picture--mobile,
.order-guide__steps .order-note__picture--mobile {
  display: none;
}

.order-step__picture--narrow {
  width: min(100%, 520px);
}

.order-note {
  border-color: var(--order-green);
  background: var(--order-green-soft);
}

.order-note h2 {
  color: var(--order-green);
}

.order-note__message {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  color: #001909;
  background: rgba(49, 197, 108, 0.3);
  align-items: center;
}

.order-note__message span {
  display: inline-flex;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--order-green);
  font-size: 11px;
  line-height: 1;
}

.order-note__message p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

.order-note__picture {
  width: min(100%, 346px);
}

.order-guide__actions {
  display: flex;
  gap: 10px;
}

.order-guide__button {
  display: inline-flex;
  flex: 1;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 36px;
  color: var(--order-white);
  font-size: 16px;
  font-weight: 550;
  line-height: 1.1;
  text-decoration: none;
  max-width: 189px;
}

.order-guide__button--home {
  background: var(--order-blue);
}

.order-guide__button--catalog {
  background: var(--order-orange);
}

.order-guide__button:focus-visible {
  outline: 2px solid var(--order-black);
  outline-offset: 3px;
}

@media (min-width: 481px) {
  .order-guide__steps {
    margin-top: 20px;
  }

  .order-guide__actions {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .order-guide-page {
    padding: 24px 20px;
  }

  .order-guide {
    width: min(100%, 320px);
    gap: 12px;
  }

  .order-guide__header,
  .order-guide__steps,
  .order-step,
  .order-note {
    gap: 8px;
  }

  .order-guide__header p {
    font-size: 14px;
  }

  .order-step,
  .order-note {
    padding: 16px;
  }

  .order-step p,
  .order-note p {
    font-size: 12px;
  }

  .order-guide__steps .order-step__picture--desktop,
  .order-guide__steps .order-note__picture--desktop {
    display: none;
  }

  .order-guide__steps .order-step__picture--mobile,
  .order-guide__steps .order-note__picture--mobile {
    display: block;
  }

  .order-step__picture--narrow {
    width: 100%;
  }

  .order-step__picture--mobile-step-6 {
    width: min(100%, 207px);
  }

  .order-step__picture--mobile-step-7 {
    width: min(100%, 233px);
  }

  .order-note__picture--mobile {
    width: min(100%, 157px);
  }

  .order-guide__actions {
    flex-direction: column;
    margin-top:10px;
  }

  .order-guide__button {
    width: 100%;
    max-width: 100%;
    flex: none;
  }
}
