.cart_wrapper {
  padding: 97px 0 70px 0;
  @media #{$tab} {
    padding: 60px 0 50px 0;
  }
  .cart_table_wrapper {
    h4 {
      font-size: 22px;
      font-weight: 700;
      color: $home_primary;
      margin-bottom: 30px;
    }
  }
}

.table.custom_table {
  border-radius: 5px;
  border-collapse: collapse;
  border-radius: 5px;
  // border-style: hidden;
  thead {
    tr {
      th {
        font-size: 16px;
        font-weight: 700;
        color: $home_primary;
        border-top: 0;
        border-bottom: 1px solid #f1ece8 !important;
        padding: 0 30px 19px 30px;
        font-family: $font1;
        &:nth-child(1) {
          // border-left: 1px solid #E1E2E6;
          padding-left: 230px;
          @media #{$tab} {
            padding-left: 180px;
          }
        }
        &:last-child {
          // border-right: 1px solid #E1E2E6;
        }
      }
    }
  }
  tbody {
    tr {
      td {
        border-bottom: 1px solid #f1ece8;
        font-family: $font1;
        color: $home_primary;
        font-size: 16px;
        vertical-align: middle;
        padding: 20px 30px;
        white-space: nowrap;
        .in_stoke {
          color: #49a60a;
        }
        &:nth-child(1) {
          // border-left: 1px solid #E1E2E6;
          padding-left: 20px;
        }
        &:last-child {
          // border-right: 1px solid #E1E2E6;
        }
        .close_icon {
          margin-right: 10px;
          cursor: pointer;
          &.style_2 {
            margin-left: 20px;
            margin-right: 0;
            position: relative;
            top: -2px;
          }
        }
        .product_name {
          .thumb {
            width: 160px;
            height: 100px;
            margin-right: 40px;
            @media #{$tab} {
              width: 100px;
              height: 60px;
              margin-right: 30px;
            }
            img {
              width: 100%;
            }
          }
          span {
            font-size: 16px;
            font-weight: 400;
            color: $home_primary;
          }
        }
      }
    }
  }
  tfoot {
    td {
      border-top: 1px solid #f1ece8;
      border-bottom: 1px solid #f1ece8;
      padding: 25px 20px;
      &:nth-child(1) {
        border-left: 1px solid #f1ece8;
      }
      &:last-child {
        border-right: 1px solid #f1ece8;
        text-align: right;
      }
    }
  }
  &.custom_table2 {
    tbody {
      td {
        padding: 25px 40px;
      }
    }
  }
}
.table.custom_table3 {
  border-radius: 5px;
  border-collapse: collapse;
  border-radius: 5px;
  // border-style: hidden;

  thead {
    tr {
      th {
        font-size: 16px;
        font-weight: 600;
        color: #373737;
        border-top: 0;
        border-bottom: 1px solid#E9E7F7;
        padding: 15px 30px;
        font-family: $font1;
        padding-left: 0;
        white-space: nowrap;
      }
    }
  }
  tbody {
    tr {
      td {
        border-bottom: 1px solid#E9E7F7;
        font-family: $font1;
        color: $home_primary;
        font-size: 16px;
        vertical-align: middle;
        padding: 14.5px;
        white-space: nowrap;
        padding-left: 0;
        font-weight: 400;
        h5 {
          font-weight: 500;
          font-family: $font1;
          color: $home_primary;
          margin-bottom: 0;
          font-size: 16px;
        }
        .product_name {
          .close_icon {
            margin-right: 11px;
          }
          .thumb {
            width: 160px;
            height: 100px;
            margin-right: 90px;
            @media #{$tab} {
              width: 100px;
              height: 60px;
              margin-right: 30px;
            }
            img {
              width: 100%;
            }
          }
          span {
            font-size: 16px;
            font-weight: 400;
            color: #373737;
          }
        }
      }
    }
  }
}
.table.custom_table4 {
  border-radius: 5px;
  border-collapse: collapse;
  border-radius: 5px;
  // border-style: hidden;
  thead {
    tr {
      th {
        font-size: 16px;
        font-weight: 700;
        color: $home_primary;
        border-top: 0;
        border: 1px solid #f1ece8 !important;
        padding: 12.5px 30px;
        font-family: $font1;
        background: #f9f9fd;
      }
    }
  }
  tbody {
    tr {
      td {
        border: 1px solid #f1ece8;
        font-family: $font1;
        color: $home_primary;
        font-size: 16px;
        vertical-align: middle;
        white-space: nowrap;
        padding: 12px 30px;
        &.product_td {
          padding: 20px 30px;
        }
        &.product_footer {
          padding: 20px 30px;
        }
        &.td_gray_bg {
          background: #f9f9fd;
        }
        .in_stoke {
          color: #49a60a;
        }
        &:nth-child(1) {
          // border-left: 1px solid #E1E2E6;
          padding-left: 20px;
        }
        &:last-child {
          // border-right: 1px solid #E1E2E6;
        }
        .close_icon {
          margin-right: 10px;
          cursor: pointer;
          &.style_2 {
            margin-left: 20px;
            margin-right: 0;
            position: relative;
            top: -2px;
          }
        }
        .product_name {
          grid-gap: 20px;
          .thumb {
            width: 80px;
            height: 50px;
            img {
              width: 100%;
            }
          }
          .product_text {
          }
          span {
            font-size: 16px;
            font-weight: 400;
            color: $home_primary;
          }
        }
      }
    }
  }
  tfoot {
    td {
      border-top: 1px solid #f1ece8;
      border-bottom: 1px solid #f1ece8;
      padding: 25px 20px;
      &:nth-child(1) {
        border-left: 1px solid #f1ece8;
      }
      &:last-child {
        border-right: 1px solid #f1ece8;
        text-align: right;
      }
    }
  }
  &.custom_table2 {
    tbody {
      td {
        padding: 25px 40px;
      }
    }
  }
}
.table.size_table {
  border-radius: 5px;
  border-collapse: collapse;
  border-radius: 5px;
  // border-style: hidden;

  thead {
    tr {
      th {
        font-size: 14px;
        font-weight: 500;
        color: #687083;
        border-top: 0;
        border-bottom: 0 !important;
        padding: 13px 24px;
        font-family: $font1;
        &:nth-child(1) {
          padding-left: 30px;
        }
        &:last-child {
          // border-right: 1px solid #E1E2E6;
          padding-right: 30px;
        }
      }
    }
  }
  tbody {
    tr:nth-of-type(2n + 1) {
      td {
        background: #f6f8fa;
      }
    }
    tr:nth-of-type(2n + 2) {
      td {
        padding: 13.5px 20px;
      }
    }
    tr {
      td {
        border-bottom: 0;
        color: $home_body;
        font-size: 14px;
        vertical-align: middle;
        padding: 7px 20px;
        white-space: nowrap;
        font-weight: 500;
        .in_stoke {
          color: #49a60a;
        }
        .close_icon {
          margin-right: 10px;
          cursor: pointer;
          &.style_2 {
            margin-left: 20px;
            margin-right: 0;
            position: relative;
            top: -2px;
          }
        }
        .product_name {
          .thumb {
            width: 160px;
            height: 100px;
            margin-right: 90px;
            @media #{$tab} {
              width: 100px;
              height: 60px;
              margin-right: 30px;
            }
            img {
              width: 100%;
            }
          }
          span {
            font-size: 16px;
            font-weight: 400;
            color: #373737;
          }
        }
      }
    }
  }
  tfoot {
    td {
      border-top: 1px solid #e1e2e6;
      border-bottom: 1px solid #e1e2e6;
      padding: 25px 20px;
      &:nth-child(1) {
        border-left: 1px solid #e1e2e6;
      }
      &:last-child {
        border-right: 1px solid #e1e2e6;
        text-align: right;
      }
    }
  }
  &.custom_table2 {
    tbody {
      td {
        padding: 25px 40px;
      }
    }
  }
}
.coupon_wrapper {
  display: grid;
  grid-template-columns: auto 100px;
  grid-gap: 5px;
  .theme_btn.small_btn2 {
    padding: 13.5px 9px;
  }
  .primary_input {
    background: #f9f9fd;
    font-size: 14px;
    font-weight: 500;
    font-family: $font1;
    color: $home_primary;
    &::placeholder {
      color: #687083;
      font-size: 14px;
      font-weight: 500;
      font-family: $font1;
    }
  }
}

.product_number_count {
  display: inline-flex;
  .count_single_item {
    width: 40px;
    height: 50px;
    border-radius: 0px;
    border: 1px solid #e1e2e6;
    font-size: 14px;
    color: $home_body;
    display: inline-block;
    display: inline-block;
    text-align: center;
    line-height: 50px;
    transition: 0.3s;
    cursor: pointer;
    background: #f9f9fd;
  }
  .count_single_item.input-number {
    cursor: text;
    width: 60px;
    background: #fff;
    color: $home_primary;
    font-weight: 500;
    font-family: $font1;
    font-size: 16px;
    border-right: 0;
    border-left: 0;
    &::placeholder {
      color: $home_primary;
    }
  }
  &.style_2 {
    .count_single_item {
      width: 30px;
      height: 30px;
      line-height: 30px;
    }
    .count_single_item.input-number {
      width: 30px;
      &::placeholder {
        color: $home_primary;
      }
    }
  }
  &.style_3 {
    .count_single_item {
      width: 40px;
      height: 40px;
      line-height: 40px;
    }
    .count_single_item.input-number {
      width: 60px;
      &::placeholder {
        color: $home_primary;
      }
    }
  }
  &.style_4 {
    .count_single_item {
      width: 40px;
      height: 40px;
      line-height: 40px;
    }
    .count_single_item.input-number {
      width: 50px;
      &::placeholder {
        color: $home_primary;
      }
    }
  }
}

.table.position_table {
  border-radius: 5px;
  border-collapse: collapse;
  border-radius: 5px;
  // border-style: hidden;

  thead {
    tr {
      th {
        font-size: 18px;
        font-weight: 600;
        color: $home_primary;
        border-top: 0;
        border-bottom: 0;
        padding: 10px 10px 10px 30px;
        font-family: $font1;
        background: $home_secondary;
        color: #fff;
        h5 {
          color: #fff;
          font-size: 18px;
        }
        .job_lists {
          color: #fff;
          font-size: 18px;
          margin-bottom: 5px;
          display: block;
        }
      }
    }
  }
  tbody {
    tr {
      td {
        .job_name {
          font-size: 16px;
          font-weight: 600;
          color: $home_primary;
          margin-bottom: 3px;
        }
        .job_position {
          font-size: 14px;
          font-weight: 400;
          color: #676e8b;
        }
        // font-family: $font1;
        // color: $home_primary;
        // font-size: 16px;
        vertical-align: middle;
        padding: 20px 30px 20px 0;
        white-space: nowrap;
        &:nth-child(1) {
          border-top: 1px solid #e1e2e6;
        }
        &:last-child {
          border-top: 1px solid #e1e2e6;
        }
      }
    }
  }
}

.cart_sub_box {
  border: 1px solid #f1ece8;
  background-color: #fafafa;
  padding: 30px;
  .primary_checkbox {
    margin: 24px 0 23px 0;
  }
  .cart_sub_box_amount {
    border-bottom: 1px solid #ededed;
    padding-bottom: 21px;
    p {
      font-size: 14px;
      font-weight: 500;
      color: $body_text;
      display: flex;
      justify-content: space-between;
      align-items: center;
      &:not(:last-child) {
        margin-bottom: 4px;
      }
      span {
        font-size: 16px;
        font-weight: 700;
        color: $home_primary;
        font-family: $font1;
      }
    }
  }
  .cart_sub_box_total {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f1ece8;
    padding: 23px 0 22px 0;
    h4 {
      font-size: 14px;
      font-weight: 700;
      color: $home_primary;
    }
  }
}

.sheping_grid_box {
  display: grid;
  grid-template-columns: 525px 450px;
  grid-gap: 75px;
  align-items: start;
  padding-top: 120px;
  @media #{$tab2} {
    padding-top: 50px;
    grid-template-columns: auto;
    grid-gap: 40px;
  }
  @media #{$large_xl} {
    grid-gap: 30px;
    grid-template-columns: 480px 450px;
  }
  @media #{$lg_device} {
    grid-gap: 30px;
    grid-template-columns: 425px 380px;
  }
  .cart_table_wrapper {
    border-right: 1px solid #ebebeb;
    padding-right: 75px;
    margin-bottom: 0;
    @media #{$tab2} {
      border: 0;
      padding-right: 0;
    }
    @media #{$large_xl} {
      padding-right: 30px;
    }
    @media #{$lg_device} {
      padding-right: 30px;
    }
  }
}

.coupon_verify_information {
  border-radius: 5px;
  border: 1px solid #29c489;
  padding: 14px 20px 15px 20px;
  grid-gap: 25px;
  &.style2 {
    border: 1px solid #fd2121;
    grid-gap: 20px;
    .coupon_content {
      h4 {
        color: #fd2121;
        margin-bottom: 8px;
      }
      p {
        font-size: 14px;
        line-height: 1.29;
        font-weight: 400;
        color: $body_text;
      }
    }
  }
  .coupon_content {
    h4 {
      color: #29c489;
      margin-bottom: 2px;
    }
    .remove_coupon {
      font-size: 12px;
      font-weight: bold;
      color: #ff2121;
    }
  }
}

.amazy_table {
  thead {
    tr {
      border: 1px solid #eef0f4;
      th {
        border: 0 !important;
        background-color: #fcfdfd;
        padding: 14px 20px;
      }
    }
  }
  tbody {
    tr {
      td {
        vertical-align: middle;
        border: 0;
        padding: 14px 0;
        &:not(:first-child) {
          padding-left: 20px;
        }
        h4 {
          margin-bottom: 4px;
        }
      }
      &:last-child {
        td {
          padding-bottom: 0;
        }
      }
      &:not(:last-child) {
        td {
          border-bottom: 1px dashed #e3e6ef !important;
        }
      }
    }
  }
  &.style2 {
    thead {
      tr {
        border: 1px solid #eef0f4;
        th {
          border: 0 !important;
          background-color: #fcfdfd;
          padding: 20px 30px 18px 30px;
        }
      }
    }
    tbody {
      tr {
        td {
          vertical-align: middle;
          border: 0;
          padding: 19.5px 30px;
          h4 {
            margin-bottom: 4px;
          }
        }
        &:not(:last-child) {
          td {
            border-bottom: 1px solid #e3e6ef !important;
          }
        }
      }
    }
  }
  &.style3 {
    thead {
      tr {
        border: 0;
        border-bottom: 1px dashed #e3e6ef;
        th {
          border: 0 !important;
          background-color: #fff;
          padding: 14px 20px;
          &:first-child {
            padding-left: 0;
          }
        }
      }
    }
    tbody {
      tr {
        td {
          vertical-align: middle;
          border: 0;
          padding: 14.25px 0;
          &:not(:first-child) {
            padding-left: 20px;
          }
          h4 {
            margin-bottom: 4px;
          }
        }
        &:not(:last-child) {
          td {
            border-bottom: 1px dashed #e3e6ef !important;
          }
        }
      }
    }
  }
  &.style4 {
    thead {
      tr {
        border: 0;
        border-bottom: 1px dashed #e3e6ef;
        th {
          border: 0 !important;
          background-color: #fff;
          padding: 14px 20px;
          &:first-child {
            padding-left: 0;
          }
        }
      }
    }
    tbody {
      tr {
        td {
          vertical-align: middle;
          border: 0;
          padding: 14.5px 0;
          &:not(:first-child) {
            padding-left: 20px;
          }
          h4 {
            margin-bottom: 4px;
          }
        }
        &:not(:last-child) {
          td {
            border-bottom: 1px dashed #e3e6ef !important;
          }
        }
      }
    }
  }
  &.style5 {
    thead {
      tr {
        border: 0;
        border: 1px solid #eef0f4;
        th {
          border: 0 !important;
          padding: 19px 30px;
          background-color: #fcfdfd;
        }
      }
    }
    tbody {
      tr {
        td {
          vertical-align: middle;
          border: 0;
          padding: 14.5px 30px;
          border-bottom: 1px dashed #e3e6ef !important;
          h4 {
            margin-bottom: 4px;
          }
        }
      }
    }
  }
  &.style6 {
    thead {
      tr {
        border: 1px solid #eef0f4;
        th {
          border: 0 !important;
          background-color: #fcfdfd;
          padding: 20px 20px 18px 20px;
        }
      }
    }
    tbody {
      tr {
        td {
          vertical-align: middle;
          border: 0;
          padding: 15.63px 20px;
          border-bottom: 1px solid #e3e6ef !important;
          line-height: 1.43;
          h4 {
            margin-bottom: 4px;
          }
        }
      }
    }
  }
  &.style7 {
    thead {
      tr {
        th {
          padding: 17.5px 20px;
        }
      }
    }
    tbody {
      tr {
        td {
          padding: 17.5px 20px;
        }
      }
    }
  }
}

.amazy_table2 {
  thead {
    tr {
      border: 0;
      border-bottom: 1px dashed #e3e6ef;
      th {
        border: 0 !important;
        padding: 13px 0px;
        &:not(:first-child) {
          padding-left: 20px;
          padding-right: 20px;
        }
      }
    }
  }
  tbody {
    tr {
      td {
        vertical-align: middle;
        border: 0;
        padding: 14px 0;
        border-bottom: 1px dashed #e3e6ef !important;
        &:not(:first-child) {
          padding-left: 20px;
          padding-right: 20px;
        }
        h4 {
          margin-bottom: 4px;
        }
      }
    }
  }
}
.amazy_table3 {
  border-collapse: separate;
  border-spacing: 0 20px;
  &.style2 {
    border-spacing: 0 10px;
    tbody {
      tr {
        td {
          border-color: #eef0f4 !important;
          &:first-child {
            border-left: 1px solid #eef0f4 !important;
          }
          &:last-child {
            border-right: 1px solid #eef0f4 !important;
          }
        }
      }
    }
  }
  &.style3 {
    border-spacing: 0 10px;
    tbody {
      tr {
        td {
          border-color: #e3e6ef !important;
          &:first-child {
            border-left: 1px solid #e3e6ef !important;
          }
          &:last-child {
            border-right: 1px solid #e3e6ef !important;
          }
        }
      }
    }
  }
  &.style4 {
    border-spacing: 0 10px;
    tbody {
      &::before {
        line-height: 0px;
        content: "";
        color: white;
        display: block;
      }
      tr {
        td {
          border-color: #e3e6ef !important;
          &:first-child {
            border-left: 1px solid #e3e6ef !important;
          }
          &:last-child {
            border-right: 1px solid #e3e6ef !important;
          }
        }
      }
    }
    thead {
      tr {
        th {
          border: 0 !important;
          background-color: #fcfdfd;
          padding: 19px 20px;
          border-top: 1px solid #eef0f4 !important;
          border-bottom: 1px solid #eef0f4 !important;
          &:first-child {
            border-left: 1px solid #eef0f4 !important;
          }
          &:last-child {
            border-right: 1px solid #eef0f4 !important;
          }
        }
      }
    }
  }
  thead {
    tr {
      border: 0;
      th {
        border: 0 !important;
        padding: 8px 20px;
        text-transform: uppercase;
        border-bottom: 1px dashed #e3e6ef !important;
      }
    }
  }
  tbody {
    tr {
      td {
        vertical-align: middle;
        border: 0;
        padding: 20px;
        border-top: 1px solid #e3e6ef !important;
        border-bottom: 1px solid #e3e6ef !important;
        &:first-child {
          border-left: 1px solid #e3e6ef !important;
        }
        &:last-child {
          border-right: 1px solid #e3e6ef !important;
        }
        h4 {
          margin-bottom: 4px;
        }
      }
    }
  }
}
