.order-process {
  position: relative;
  isolation: isolate;
  width: min(var(--container), calc(100% - 48px));
  margin-top: 28px;
  margin-bottom: 28px;
  padding-top: 64px;
  padding-bottom: 28px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.order-process__header {
  position: relative;
  z-index: 1;
  min-height: 280px;
  padding-bottom: 24px;
}

.order-process__copy {
  position: relative;
  z-index: 5;
  max-width: 610px;
}

.order-process__eyebrow {
  margin: 0 0 18px;
  color: #6d8584;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.order-process__title {
  max-width: 580px;
  margin: 0;
  color: var(--green-main, #064b3f);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(52px, 4vw, 72px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .96;
}

.order-process__description {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--text-muted, #78858d);
  font-size: 18px;
  line-height: 1.5;
}

.order-process__bouquet {
  position: absolute;
  z-index: 0;
  top: -32px;
  right: -46px;
  width: min(38%, 440px);
  height: 390px;
  object-fit: contain;
  object-position: right top;
  pointer-events: none;
}

.order-process__decor-copy {
  position: absolute;
  z-index: 6;
  top: 18px;
  right: 30%;
  color: #637684;
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.04em;
  white-space: nowrap;
  transform: rotate(-8deg);
}

.order-process__decor-copy span {
  display: inline-block;
  color: #ef8b91;
  font-family: Georgia, serif;
  font-size: 43px;
  line-height: 0;
  margin-left: 5px;
  transform: translateY(5px);
}

.order-process__decor-copy::after {
  position: absolute;
  top: 72px;
  left: 54px;
  width: 174px;
  height: 36px;
  border-top: 1px solid #f08d94;
  border-radius: 50%;
  content: '';
  transform: rotate(-7deg);
}

.order-process__bouquet-note {
  position: absolute;
  z-index: 3;
  top: 166px;
  right: 8.5%;
  padding: 9px 11px 8px;
  color: #6b5d5a;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 3px 12px rgba(80, 51, 48, .08);
  font-family: "Segoe Script", "Bradley Hand", cursive;
  font-size: 11px;
  line-height: 1.18;
  transform: rotate(13deg);
}

.order-process__bouquet-note span {
  color: #ef8b91;
  font-family: Georgia, serif;
  font-size: 15px;
}

.order-process__steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-step {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  min-height: 540px;
  padding: 34px 10px 10px;
  border: 1px solid rgba(225, 232, 229, .92);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .88) 100%);
  box-shadow: 0 8px 18px rgba(30, 49, 44, .035);
}

.order-step::before {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 18px;
  left: 68px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f2a1a6 0%, rgba(242, 161, 166, .72) 48%, rgba(255, 255, 255, 0) 100%);
  content: '';
}

.order-step::after {
  display: none;
}

.order-step__number {
  position: absolute;
  z-index: 4;
  top: -22px;
  left: 16px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #17272c;
  background: #ffe1e3;
  font-size: 20px;
  line-height: 1;
}

.order-step__copy {
  min-height: 182px;
  padding-inline: 10px;
}

.order-step__title {
  margin: 0;
  color: var(--green-main, #064b3f);
  font-family: var(--font-display, Georgia, serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.order-step__text {
  margin: 10px 0 0;
  color: var(--text-muted, #78858d);
  font-size: 16px;
  line-height: 1.4;
}

.order-step__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-top: auto;
  overflow: hidden;
  border-radius: 16px;
  object-fit: cover;
  object-position: center;
}

.order-process__benefits {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  padding: 18px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .75);
}

.order-process__benefit {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
}

.order-process__benefit + .order-process__benefit {
  border-left: 1px solid #e8edeb;
}

.order-process__benefit-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border-radius: 50%;
  color: #173e33;
  background: #ffe0e2;
}

.order-process__benefit-icon .icon {
  width: 25px;
  height: 25px;
}

.order-process__benefit-title,
.order-process__benefit small {
  display: block;
}

.order-process__benefit-title {
  color: #173e33;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.order-process__benefit small {
  margin-top: 5px;
  color: var(--text-muted, #78858d);
  font-size: 13px;
  line-height: 1.25;
}

@media (max-width: 1179px) and (min-width: 768px) {
  .order-process {
    padding-top: 56px;
  }

  .order-process__header {
    min-height: 250px;
  }

  .order-process__decor-copy {
    right: 27%;
    font-size: 18px;
  }

  .order-process__bouquet {
    top: -4px;
    right: -34px;
    width: 38%;
    height: 320px;
  }

  .order-process__bouquet-note {
    top: 166px;
    right: 6%;
    font-size: 9px;
  }

  .order-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 38px;
  }

  .order-process__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }

  .order-process__benefit:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .order-process {
    width: calc(100% - 24px);
    margin-top: 12px;
    margin-bottom: 12px;
    padding: 48px 28px 22px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(30, 49, 44, .08);
  }

  .order-process__header {
    min-height: 0;
    padding-bottom: 0;
  }

  .order-process__eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: .2em;
  }

  .order-process__title {
    position: relative;
    max-width: 100%;
    font-size: clamp(36px, 10vw, 42px);
    line-height: .98;
  }

  .order-process__title::after {
    position: absolute;
    top: 30px;
    right: -2px;
    color: #ef8b91;
    content: '♡';
    font-family: Georgia, serif;
    font-size: 47px;
    font-weight: 400;
    line-height: 1;
    transform: rotate(-12deg);
  }

  .order-process__description {
    max-width: 360px;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.42;
  }

  .order-process__bouquet,
  .order-process__decor-copy,
  .order-process__bouquet-note {
    display: none;
  }

  .order-process__steps {
    display: block;
    margin-top: 10px;
  }

  .order-step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 94px;
    gap: 0 10px;
    min-height: 0;
    padding: 12px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .order-step:not(:last-child)::after {
    display: block;
    z-index: 0;
    top: 58px;
    right: auto;
    bottom: -10px;
    left: 21px;
    width: 1px;
    height: auto;
    border: 0;
    border-left: 2px dashed #f2a2a7;
    content: '';
    transform: none;
  }

  .order-step::before {
    display: none;
  }

  .order-step__number {
    position: static;
    z-index: 1;
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .order-step__copy {
    grid-column: 2;
    grid-row: 1;
    min-height: 0;
    padding: 0;
  }

  .order-step__title {
    font-size: 18px;
    line-height: 1.12;
  }

  .order-step__text {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.38;
  }

  .order-step__image {
    grid-column: 3;
    grid-row: 1;
    width: 94px;
    aspect-ratio: 3 / 4;
    margin: 0;
    border-radius: 14px;
  }

  .order-process__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-top: 16px;
    padding: 10px 0;
    border-radius: 18px;
  }

  .order-process__benefit {
    align-items: flex-start;
    gap: 8px;
    padding: 10px 8px;
  }

  .order-process__benefit:nth-child(odd) {
    border-left: 0;
  }

  .order-process__benefit:nth-child(even) {
    border-left: 1px solid #e8edeb;
  }

  .order-process__benefit:nth-child(n + 3) {
    border-top: 1px solid #e8edeb;
  }

  .order-process__benefit-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .order-process__benefit:first-child .order-process__benefit-icon {
    background: #e5eddc;
  }

  .order-process__benefit-icon .icon {
    width: 18px;
    height: 18px;
  }

  .order-process__benefit-title {
    font-size: 11px;
    line-height: 1.2;
  }

  .order-process__benefit small {
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.25;
  }
}

@media (max-width: 359px) {
  .order-process {
    padding-inline: 16px;
  }

  .order-step {
    grid-template-columns: 38px minmax(0, 1fr) 82px;
    gap: 0 8px;
  }

  .order-step__number {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .order-step__image {
    width: 82px;
  }

  .order-step:not(:last-child)::after {
    left: 18px;
  }
}
