.view-order-page {
  padding-bottom: 120px;
}
.my-account-nav-section {
  background-color: #000000;
}
.my-account-nav-section .my-account-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 35px;
  padding-right: 35px;
}
.my-account-nav-section .my-account-nav li a {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.7px;
  color: #ffffff;
  text-decoration: none;
  padding: 22px 0;
  display: block;
  transition: 0.25s;
  text-transform: uppercase;
  white-space: nowrap;
}
.my-account-nav-section .my-account-nav li:last-child{
  padding-right: 20px;
}
.my-account-nav-section .my-account-nav li a.current{
  color:#FF7606;
}
.my-account-nav-section .my-account-nav li a:hover{
  color:#FF7606;
}
.account-details-section .order-title {
  font-family: Poppins;
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  gap: 40px;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
}
.account-details-section .order-title .btn-back {
  font-family: Poppins;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #000;
  text-decoration: none;
  position: absolute;
  top: 5px;
  left: 0;
  background-image: url(assets/icons/arrow-back.svg);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 60px;
}
.orders-column {
  width: 100%;
}

.mobile-cards {
  display: none;
}

.view-order-table {
  width: 100%;
}

.view-order-table th {
  text-align: left;
  font-family: Poppins;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
}

.view-order-table,
.view-order-table thead,
.view-order-table tbody {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.view-order-table tr {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.view-order-table td,
.view-order-table th {
  width: 16%;
}
.view-order-table td.product-name,
.view-order-table th.product-name {
  width: 22%;
}
.view-order-table td:last-child,
.view-order-table th:last-child {
  width: 8%;
  text-align: left;
}
.view-order-table thead tr {
  padding-bottom: 16px;
  border-bottom: 1px solid #000000;
}
.view-order-table tbody tr {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 15px 0px;
  border-bottom: 1px solid #000;
  align-items: center;
}
.view-order-table tbody tr td {
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
}
.view-order-totals {
  max-width: 424px;
  margin-left: auto;
  margin-top: 40px;
}
.view-order-totals .flex-totals{
  display: flex;
  justify-content: space-between;
  font-family: Poppins;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  padding-bottom: 10px;
}
.view-order-totals .flex-totals .price{
  font-weight: 600;
}
.view-order-totals .flex-totals.border-bot-black {
  border-bottom: 1px solid #000;
}
.view-order-totals .flex-totals.total-sum {
  padding-top: 10px;
}
.view-order-totals .btn {
  background-color: #ff7606;
  width: 100%;
  display: block;
  text-align: center;
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  padding: 11px 0;
  text-transform: uppercase;
  letter-spacing: 0.07px;
  font-weight: 500;
  margin-top: 20px;
  transition: 0.2s;
}
.view-order-totals .btn:hover {
  background-color: #ff953d;
}
@media only screen and (max-width: 1024px) {
  .account-details-section .order-title .btn-back {
    top: -50px;
    left: unset;
  }
  .account-details-section .order-title {
    margin-top: 40px;
  }
}
@media only screen and (max-width: 768px) {
  .account-details-section .order-title .btn-back {
    top: -50px;
    left: unset;
  }
  .account-details-section .order-title {
    font-family: Poppins;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    gap: 20px;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
    margin-top: 40px;
    flex-direction: column;
    align-items: center;
  }
  .my-account-nav-section .container {
    overflow-x: scroll;
  }
  .mobile-cards {
    display: block;
  }
  .desktop-order-table {
    display: none;
  }
  .orders-cards .order-item {
    border-bottom: 1px solid #000;
    padding: 16px 0;
    display: flex;
    gap: 15px;
    justify-content: space-between;
  }
  .orders-cards .order-item .item-image img{
    width: 100%;
    height: auto;
  }
  .orders-cards .order-item:first-child {
    border-top: 1px solid #000;
  }
  .orders-cards .order-item .item-info .name {
    font-family: Poppins;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 16px;
  }

  .orders-cards .order-item .item-info .info-row {
    display: flex;
    justify-content: space-between;
    font-family: Poppins;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    margin-bottom: 10px;
  }
  .orders-cards .order-item .item-info .info-row .value{
    font-weight: 600;
  }
  .orders-cards .order-item .item-info .info-row:last-child {
    margin-bottom: 0;
  }
  .view-order-totals {
    margin-top: 20px;
  }
  .view-order-totals .flex-totals {
    font-size: 14px;
    line-height: 20px;
  }
  .view-order-page {
    padding-bottom: 40px;
  }
  .view-order-totals .btn {
    margin-top: 10px;
  }
}
