/* How to Order — photo on each step card.
   The image bleeds to the card edges and the numbered badge overlaps its
   bottom, so the horizontal margin below mirrors the 30px side padding
   .how-to-order_step already carries in index.min.css. */

/* Section itself sits inside the generic .section rules (70/100/130px top
   and bottom depending on breakpoint) — trim those down just for this
   section so it doesn't sit so far from the sections above and below it. */
.how-to-order.section {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media screen and (min-width: 767.98px) {
  .how-to-order.section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

@media screen and (min-width: 1023.98px) {
  .how-to-order.section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.how-to-order_step {
  padding-top: 0;
  overflow: hidden;
}

.how-to-order_step-media {
  margin: 0 -30px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.how-to-order_step-media picture {
  display: block;
  height: 100%;
}

.how-to-order_step-media img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: .4s ease-in-out;
  -o-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
}

.how-to-order_step:hover .how-to-order_step-media img {
  -webkit-transform: scale(1.06);
  -ms-transform: scale(1.06);
  transform: scale(1.06);
}

.how-to-order_step-num {
  position: relative;
  z-index: 1;
  margin-top: -34px;
  border: 4px solid #fff;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
