.order-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 80px;
  margin-top: 53px;
}

.order-item-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 32px;
}

.order-item-content-images {
  width: 57%;
}

.swiper-container {
  width: 100%;
  height: 500px;
}

.swiper-slide-container {
  text-align: center;
  font-size: 18px;
  background: #fff;
  height: 100%;
  max-width: 600px;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.gallery-top {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 16px;
}

.swiper-slide {
  border: 1px solid #0A28431F;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.swiper-slide img {max-width: 100%;}

.gallery-thumbs-content {
  width: 100%;
  position: relative;
  padding: 0 70px;
}

.gallery-thumbs {
  height: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px 0;
  border-radius: 12px;
}

.gallery-thumbs .swiper-wrapper {width: 80%;}

.gallery-thumbs .swiper-slide {
  width: 20%;
  height: 100%;
  border-radius: 12px;
}

.gallery-thumbs .swiper-slide img {
  border-radius: 12px;
}

.swiper-button-next,
.swiper-button-prev {
  width: 46px;
  height: 46px;
  background-color: #F5F5F5;
  background-image: none;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  content: url(../assets/images/arrow.svg);
  position: absolute;
  top: 50%;
  left: 50%;  
}

.swiper-button-next::after {
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.swiper-button-prev::after {
  -webkit-transform: translate(-50%, -50%) rotate(180deg);
      -ms-transform: translate(-50%, -50%) rotate(180deg);
          transform: translate(-50%, -50%) rotate(180deg);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {background-color: #e9e9e9;}

.order-item-info {  
  color: var(--blue-black);
}
.order-item-info > div,
.order-item-info {gap: 12px;}

.order-item-info > p,
.order-item-info > h1 {
  font-weight: 600;
}
.order-item-info > span {
  font-weight: 500;
  margin-top: 20px;
}

.order-total {
  font-size: 40px;
  font-weight: 700;
  color: var(--blue);
  margin-top: 34px;
}

.order-total p {
  font-size: 24px;
  color: var(--blue-black);
}

.order-confirmation {
  gap: 16px;
  margin-top: 20px;
}

.order-confirmation button {
  background-color: var(--blue);
  padding: 16px;
  width: 100%;
  max-width: 297px;
  color: white;
}

.order-products-count {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 61px;
  border: 1px solid #0A284333;
  border-radius: 65px;
  overflow: hidden;
  min-width: 160px;
}

.order-products-count span,
.order-products-count input {
  width: 56px;
  height: 100%;
}

.order-products-count input {
  border-left: 1px solid #0A284333;
  border-right: 1px solid #0A284333;
  border-top: none;
  border-bottom: none;
  outline: none;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--blue-black);
}

.order-products-count input::-webkit-outer-spin-button,
.order-products-count input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.order-products-count input {
    -moz-appearance: textfield;
}


.order-products-count span {
  font-size: 36px;
  font-weight: 400;
  color: var(--blue-black);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
}

.order-item-description {gap: 24px;}
.order-item-description h1 {
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 48px;
  color: var(--blue-black);
  line-height: 56.35px;
}
.order-item-description p {
  font-weight: 500;
  font-size: 20px;
  color: var(--blue-black);
  line-height: 30px;
}

footer {margin: 20px 0;}

@media (max-width: 1280px) {
  .gallery-top {
    height: 278px;
  }

  .order-item-info > h1 {font-size: 32px;}
  .order-item-info > p:first-of-type {font-size: 16px;}

  .order-item-info > span,
  .order-item-info > p:last-of-type {font-size: 18px;}

  .order-confirmation,
  .order-item-info > span {margin-top: 16px;}

  .order-total {
    margin-top: 24px;
    font-size: 24px;
  }

  .order-confirmation button {
    padding: 10px;
    font-size: 16px;
    line-height: 24px;
  }

  .order-item {gap: 40px;}  
  .order-products-count {height: 44px;}  
  .order-total > p {font-size: 16px; white-space: nowrap;}
  
  .order-item-description {gap: 20px;}
  .order-item-description h1 {
    font-size: 36px;
    margin-bottom: 4px;
    line-height: 42.26px;
  }
  .order-item-description p {
    font-size: 16px;
    line-height: 21px;
  }

  .order-is-easy {margin-top: 80px;}
}

@media (max-width: 744px) {
  .order-item-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 40px;
  }

  .order-item-info {-webkit-box-ordinal-group: 2;-ms-flex-order: 1;order: 1;}
  .order-item-content-images {-webkit-box-ordinal-group: 3;-ms-flex-order: 2;order: 2;}

  .order-item-info > div {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .order-item-content-images {
    width: 100%;
  }

  .gallery-top {height: 398px;}

  .order-item {gap: 60px;}
  .order-item-description p {
    font-size: 14px;
    line-height: 18px;
  }

  .order-products-count,
  .order-confirmation button {
    width: 140px;
  }
  .order-products-count {min-width: -webkit-fit-content;min-width: -moz-fit-content;min-width: fit-content;}
  .order-products-count .minus,
  .order-products-count .plus {width: 43px;}
  .order-products-count .number {width: 53px;}
}

@media (max-width: 640px) {
  .gallery-top {
    height: 280px;
  }
  .order-item-info > div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }

  .gallery-thumbs {padding: 0;}

  .order-item {gap: 40PX;}
  .order-item-description {gap: 12px;}
  .order-item-description h1 {
    font-size: 24px;
    margin-bottom: 8px;
    line-height: 28.18px;
  }

  .order-item-description p {font-size: 12px;}

  .gallery-thumbs-content {padding: 0 40px;}
  .swiper-button-next, .swiper-button-prev {
    width: 24px;
    height: 24px;
    margin-top: -12px;
  }
}

@media (max-width: 480px) {
  .gallery-top {
    height: 180px;
  }

  .gallery-thumbs {
    height: 70px;
  }
  .gallery-thumbs .swiper-slide {border: none;}

  .gallery-thumbs .swiper-slide img,
  .gallery-thumbs {border-radius: 8px;}

  .order-item-info > h1 {font-size: 24px;}
  .order-item-info > p:first-of-type {font-size: 14px;}
  .order-item-info > span,
  .order-item-info > p:last-of-type {font-size: 16px;}

  .order-item-content {gap: 28px;}
  .order-item-info > span {margin-top: 12px;}
  .order-total {margin-top: 8px;}
  .order-confirmation {margin-top: 4px;}
}