/* Shared “How to order” component. This file is loaded last on every page
   that renders the block so page-specific legacy rules cannot make it drift. */
.how-order.how-order--shared {
  border-top: 1px solid var(--gw-line, #e9e9e9);
}

.how-order--shared .how-order__head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
  margin-bottom: 52px;
}

.how-order--shared .how-order__left h2 {
  margin: 0 0 28px;
  color: #333;
  font-family: "Funnel Sans", Montserrat, sans-serif;
  font-size: 45px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

.how-order--shared .how-order__kicker {
  display: none;
}

.how-order--shared .how-order__desc {
  margin: 0;
  color: #676a70;
  font-family: Inter, Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

.how-order--shared .how-order__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--gw-orange, #f26422);
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.how-order--shared .how-order__cta:hover {
  background: #d9531a;
  color: #fff;
  transform: translateY(-1px);
}

.how-order--shared .how-order__cta:active {
  transform: translateY(0) scale(0.98);
}

.how-order--shared .how-order__cta:focus-visible {
  outline: 3px solid rgba(242, 100, 34, 0.28);
  outline-offset: 3px;
}

.how-order--shared .order-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.how-order--shared .order-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px 32px;
  border: 1px solid rgba(23, 23, 23, 0.06);
  border-radius: 16px;
  background: #f2f3f5;
  text-align: center;
}

.how-order--shared .order-step__num {
  display: grid;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin: 0 0 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--gw-orange, #f26422);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.how-order--shared .order-step__icon {
  display: flex;
  width: 104px;
  height: 104px;
  margin: 0 0 22px;
  align-items: center;
  justify-content: center;
}

.how-order--shared .order-step__icon img,
.how-order--shared .order-step__icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.how-order--shared .order-step__title {
  display: block;
  margin: 0 0 12px;
  color: var(--gw-text, #171717);
  font-size: 18px;
  font-weight: 850;
  line-height: normal;
}

.how-order--shared .order-step p {
  display: block;
  margin: 0;
  color: var(--gw-muted, #5c5c5c);
  font-size: 14px;
  line-height: 1.55;
}

.how-order--shared .order-step__phone {
  color: var(--gw-orange, #f26422);
  font-weight: 750;
}

@media (max-width: 960px) {
  .how-order--shared .how-order__head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .how-order--shared .order-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .how-order.how-order--shared {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    overflow: visible;
    border: 0;
    border-top: 1px solid var(--gw-line, #e9e9e9);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }

  .how-order--shared::before {
    display: none;
    content: none;
  }

  .how-order--shared .how-order__head {
    display: flex;
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .how-order--shared .how-order__left {
    display: contents;
  }

  .how-order--shared .how-order__kicker {
    display: none;
  }

  .how-order--shared .how-order__left h2 {
    order: 1;
    margin: 0;
    font-size: clamp(25px, 7.2vw, 30px);
    line-height: 1.04;
    letter-spacing: 0;
    text-transform: none;
  }

  .how-order--shared .how-order__desc {
    order: 2;
    max-width: 34em;
    font-size: 14px;
    line-height: 1.45;
  }

  .how-order--shared .how-order__cta {
    order: 3;
    display: flex;
    width: 100%;
    min-height: 48px;
    margin-top: 2px;
    border-radius: 8px;
    box-shadow: none;
  }

  .how-order--shared .order-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--gw-line, #e9e9e9);
    border-radius: 16px;
    background: #fff;
  }

  .how-order--shared .order-step {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 230px;
    padding: 15px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    text-align: left;
  }

  .how-order--shared .order-step:nth-child(odd) {
    border-right: 1px solid var(--gw-line, #e9e9e9);
  }

  .how-order--shared .order-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--gw-line, #e9e9e9);
  }

  .how-order--shared .order-step:last-child {
    border: 0;
  }

  .how-order--shared .order-step__num {
    width: 32px;
    height: 32px;
    margin: 0 0 24px;
    font-size: 12px;
    box-shadow: none;
  }

  .how-order--shared .order-step__icon {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .how-order--shared .order-step__title {
    display: block;
    margin: 0 0 8px;
    padding-right: 0;
    font-size: 16px;
    line-height: 1.2;
  }

  .how-order--shared .order-step p {
    color: #676a70;
    font-size: 13px;
    line-height: 1.45;
  }

  .how-order--shared .order-step__phone {
    display: inline;
    min-height: 0;
  }
}

@media (max-width: 339px) {
  .how-order--shared .order-steps {
    grid-template-columns: 1fr;
  }

  .how-order--shared .order-step {
    min-height: 0;
    padding: 18px;
  }

  .how-order--shared .order-step:nth-child(odd),
  .how-order--shared .order-step:nth-child(-n + 2),
  .how-order--shared .order-step:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--gw-line, #e9e9e9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-order--shared .how-order__cta {
    transition: none;
  }
}
