.Ordered_Card {
  margin-top: 35px;
}

.Ordered_Card .main_card {
  margin: 0px 10px;
  background: #ffffff 0% 0% no-repeat padding-box;
  box-shadow: 0px 0px 6px #00000029;
  border-radius: 18px;
  border: none;
}

.Ordered_Card .main_card .product_section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.Ordered_Card .main_card .product_section .product_img_div {
  width: 75px;
  height: 75px;
  background: #f5f5f5;
  padding: 8px 10px;
  border-radius: 8px;
  aspect-ratio: 1/1;
}

.Ordered_Card .main_card .product_section .product_img_div .product_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
}
.Ordered_Card .main_card .product_section .product_info .product_name {
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  line-height: 1.2;
  -webkit-box-orient: vertical;
}

.Ordered_Card .main_card .status_text {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  color: #2f7aac;
  text-align: center;
}

.Ordered_Card .main_card .status_text.shipped_status {
  color: #97ac2f;
}

.Ordered_Card .main_card .price_text,
.Ordered_Card .main_card .date_text {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  text-align: center;
  margin-left: 10px;
}

.Ordered_Card .main_card .action_section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.Ordered_Card .main_card .action_section svg {
  font-size: 20px;
}
.Ordered_Card .main_card.mobile_view {
  display: none;
}
.right_section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: end;
  margin-top: 30px;
}
.view-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ========================= Media Queries ========================= */
@media (min-width: 992px) and (max-width: 1199px) {
  .Ordered_Card .main_card .product_section .product_img_div {
    width: 65px;
    height: 65px;
  }
  .Ordered_Card .main_card .product_section {
    gap: 5px;
  }
  .Ordered_Card .main_card .price_text,
  .Ordered_Card .main_card .date_text {
    font-size: 13px;
  }
  .Ordered_Card .main_card .Green_btn_holder .Green_btn {
    font-size: 13px;
    padding: 6px 9px;
  }
  .Ordered_Card .main_card .action_section svg {
    font-size: 17px;
  }
}
@media (min-width: 0px) and (max-width: 991px) {
  .Ordered_Card {
    margin-top: 0;
  }

  .Ordered_Card .main_card.desktop_view {
    display: none;
  }

  .Ordered_Card .main_card.mobile_view {
    padding: 10px;
    display: block;
    margin-bottom: 15px;
    position: relative;
  }

  .Ordered_Card .main_card.mobile_view .card_top_div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .Ordered_Card .main_card.mobile_view .card_mid_div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px;
  }

  .Ordered_Card .main_card.mobile_view .card_last_div {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: end;
    margin-top: 20px;
  }
  .Ordered_Card .main_card .status_text.shipped_status {
    color: #97ac2f;
    margin-bottom: 10px;
  }
  .Ordered_Card .main_card .status_text {
    position: absolute;
    top: 8px;
    right: 11px;
  }
  .Ordered_Card .main_card {
    border-radius: 12px;
  }
  .Ordered_Card .main_card .product_section .product_info .product_name {
    width: 201px;
  }

  .Ordered_Card .img-wrapper_div {
    display: flex;
    gap: 10px;
  }
  .Ordered_Card .product_section {
    display: flex;
    flex-direction: column;
  }
  .Ordered_Card .price_action_row {
    display: flex;
    justify-content: space-between !important;
    align-items: center;
    margin-top: 10px;
  }

  .Ordered_Card .main_card.mobile_view .card_last_div {
    margin-top: 0px;
  }
  .Ordered_Card .main_card .product_section .product_info .product_name {
    width: 142px;
  }

  .Ordered_Card .main_card .date_text {
    font-size: 13px;
  }
  .Ordered_Card .main_card .Green_btn_holder .Green_btn {
    padding: 6px 10px;
  }

  .Ordered_Card .main_card .price_text {
    font-size: 16px;
  }
}
@media (min-width: 0px) and (max-width: 395.98px) {
  .Ordered_Card .main_card .product_section .product_img_div {
    width: 68px;
    height: 68px;
  }
  .Ordered_Card .main_card.mobile_view {
    margin: 1px;
    margin-bottom: 15px;
  }
  .Ordered_Card .main_card .product_section .product_info .product_name {
    width: 100px;
    font-size: 13px;
    -webkit-line-clamp: 4;
  }
  .Ordered_Card .main_card .status_text {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 12px;
  }
  .Ordered_Card .main_card .date_text {
    font-size: 12px;
  }
}
