.cartrow {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
}

.cartrow .cart-detail-wrapper {
  width: 60%;
  flex: 0 auto;
}

.cart-total {
  flex: 1;
}

.cartrow {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
}

.cart-detail-wrapper {
  flex: 0 0 auto;
  width: 50%;
}

.cart-total {
  flex: 1;
}

.quantity-wrapper {
  position: relative;
  max-width: 107px;
}

.quantity-wrapper :is(.status-tab, .status-tab) {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  padding: 4px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
}

.quantity-wrapper input {
  border: 1px solid #d7d7d7;
  width: 100%;
  text-align: center;
  padding: 9px 35px;
  font-size: 18px;
  color: #414141;
  border-radius: 53px;
}

.quantity-wrapper .plus {
  right: 0;
}

.quantity-wrapper .status-tab.minus {
  left: 0;
}

.cart-total .price {
  color: var(---text-color-2);
}

/*
.btn {
    font-size: 16px;
    padding: 18px 50px;
}

.btn-tprimary {
    background-color: var(--color-base-button-gradient);
    color: #fff;
    border-radius: 60px;
} */

.cart-total .button--primary {
  margin-top: 30px;
}

/******** table css start  **********/

.cart-detail-table {
  width: 100%;
  border-radius: 8px;
}

.cart-detail-table th {
  background-color: var(--color-base-button-gradient);
  color: #fff;
  font-size: 20px;
}

.cart-detail-table td {
  color: var(---text-color-2);
  font-size: 16px;
}

.cart-detail-table .order-number {
  font-weight: 600;
}

.cart-detail-table .order-track {
  font-weight: 600;
}

.cart-detail-table .name {
  font-size: 16px;
  color: var(---text-color-2);
}

.cart-detail-table .price {
  color: var(---text-color-2);
}

.cancil {
  aspect-ratio: 1/1;
  width: 12px;
  cursor: pointer;
  margin-right: 5px;
  flex: 0 0 auto;
}

.status-tab {
  display: inline-flex;
  gap: 8px;
  padding: 9px 13px 8px;
  font-size: 14px;
  font-weight: 700;
  color: #707070;
  border-radius: 4px;
  align-items: center;
}

.status-tab.progress {
  background-color: #6666661f;
}

.status-tab > img {
  margin-top: -2px;
}

.custom-flex-center {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.track-id a {
  text-decoration: underline;
}

.track-id a:hover {
  text-decoration: none;
}

.barsMarqueeWrapper {
  padding: 30px 0 50px;
}

/*********** product port  ********/
.product-port {
  display: flex;
  align-items: center;
  gap: 15px;
}
.product-port .imagePort {
  width: 64px;
  align-self: flex-start;
}

.product-port .imagePort {
  aspect-ratio: 1/1;
  width: 53px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--color-base-text) / 0.1);
  flex: 0 0 auto;
}

.product-port .imagePort img {
  position: absolute;
  width: auto;
  height: auto;
  max-width: calc(100% - 3px);
  max-height: calc(100% - 3px);
}

.product-port-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-port-wrapper .price {
  font-size: 14px;
  color: rgb(var(--color-foreground));
  flex: 0 0 auto;
}

.product-discription > * {
  display: flex;
}

.product-discription .varient {
  color: var(---text-color-2);
  font-size: 12px;
  margin-top: 1px;
}

.product-discription .name {
  font-size: 14px;
}

span.ingrd-quantity {
  position: relative;
  background-color: #828282;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  aspect-ratio: 1 / 1;
  width: var(---widthQa);
  justify-content: center;
  align-items: center;
  display: flex;
  top: calc(var(---widthQa) / 9 * 1);
  right: calc(var(---widthQa) / 5 * -1);
  ---widthQa: 17px;
}

.product-port .imagePort .quantity {
  position: absolute;
  background-color: #828282;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  aspect-ratio: 1/1;
  width: var(---widthQa);
  justify-content: center;
  align-items: center;
  display: flex;
  top: calc(var(---widthQa) / 2 * -1);
  right: calc(var(---widthQa) / 2 * -1);
  ---widthQa: 22px;
}

.head-link a {
  font-size: 13px;
  font-weight: initial;
}

.head-link a:not(:hover) {
  text-decoration: underline;
}

.head-link {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.custom-page {
  padding-bottom: 100px;
  background-color: rgba(var(--color-background));
  padding-top: 40px;
  z-index: 3;
  border-end-end-radius: 0 !important;
  border-end-start-radius: 0 !important;
}

@media (max-width: 1440px) {
  .cart-detail-table th {
    font-size: 16px;
  }

  .cart-detail-table td {
    font-size: 13px;
  }

  .status-tab {
    font-size: 12px;
  }

  .cart-detail-table th,
  .cart-detail-table td {
    padding: 14px 10px;
  }
}

@media screen and (max-width: 1200px) {
  table.responsive-table thead {
    display: none;
  }

  table.responsive-table tbody th {
    display: none;
  }

  table.responsive-table tr td {
    display: flex;
    text-align: right;
    clear: both;
    width: 100% !important;
    justify-content: space-between;
    padding: 20px;
    align-items: center;
  }

  table.responsive-table tr td[data-title]::before {
    content: attr(data-title) ": ";
    font-weight: 600;
  }
  .product-wrap {
    flex-wrap: wrap;
  }

  .custom-page {
    padding-bottom: 56px;
  }
}

@media screen and (min-width: 1200px) {
  table.responsive-table thead {
    display: table-header-group;
  }

  table.responsive-table tbody th {
    display: table-cell;
  }

  table.responsive-table tr th,
  table.responsive-table tr td {
    text-align: left;
  }

  table.responsive-table tr td {
    display: table-cell;
  }

  table.responsive-table tr td::before {
    display: none;
  }
}

table.responsive-table tr td:not(:last-child) {
  margin-bottom: #000;
}

table.responsive-table tr td:not(:last-child) {
  border-bottom: 1px solid #f1f1f1;
}

table.responsive-table tr td:not([data-title]) {
  text-align: end;
  justify-content: end;
}

table.responsive-table .cancil {
  order: 4;
}

.table.responsive-table .product-port {
  gap: 10px;
}

@media (max-width: 991px) {
  .cartrow :is(.cart-detail-wrapper, .cart-total) {
    width: 100%;
  }

  .cartrow {
    gap: 40px;
  }

  .custom-page {
    padding-bottom: 60px;
    padding-top: 40px;
  }
}

@media (max-width: 767px) {
  .custom-page {
    padding-bottom: 40px;
    padding-top: 40px;
  }
  span.remove-item img {
    aspect-ratio: 1 / 1;
    width: 15px;
    cursor: pointer;
    margin-top: 7px;
    flex: 0 0 auto;
  }

  .mobile-total {
    margin-top: 20px;
  }
}
