.main-cart * {
    box-sizing: border-box;
}
.pagecart-head{
    position: relative;
    margin-bottom: 80px;
}
.pagecart-head .pagecart-icon {
    position: absolute;
    left: 0;
    bottom: 85px;
}
.pagecart-head-title {
    background-color: #314788;
    text-align: center;
    padding: 50px 0;
    background-size: cover;
}
.pagecart-head-title .title{
    color: #fff;
    margin-bottom: 0;
    font-size: 40px;
}

.cart-buoc {
    position: relative;
    margin: 80px auto 0;
    list-style: none;
    display: flex;
    padding: 0;
    justify-content: space-between;
    max-width: 920px;
}
.cart-buoc::after {
    content: "";
    width: 95%;
    height: 4px;
    background-color: #DFD46C;
    position: absolute;
    top: 40px;
    z-index: 0;
}
.cart-buoc li label {
  display: block;
  background-color: #DFD46C;
  border-radius: 100%;
  width: 80px;
  height: 80px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
.cart-buoc li {
  margin: 0;
  color: #ACACAC;
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  align-items: center;
  z-index: 1;
}
li.current-buoc {
    color: #000;
}
li.current-buoc label {
    background-color: #AB151B;
}
li.finish-buoc{
    color: #24BE2A;
}
li.finish-buoc label {
    position: relative;
    background-color: #24BE2A;
    color: transparent;
}
li.finish-buoc label::after {
    content: "";
    background-image: url(../images/check-mark.png);
    background-size: 36px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 99;
    width: 36px;
    height: 36px;
}
/**/
.cart-head {
    padding-bottom: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    justify-content: space-between;
    align-items: center;
}
.cart-head h2 {
    margin-bottom: 0;
    font-size: 28px;
    font-weight: bold;
}
.cart-head .num-pro {
    color: #9E9E9E;
    text-align: center;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
}
/**/
table.cart_table {
    width: 100%;
}
.cart_table thead {
    background-color: #F8F8F8;
}
.cart_table th {
    padding: 10px;
}
.cart_table .product-thumbnail {
    max-width: 265px;
}
.cart_table td{
    padding: 20px 0;
    border-bottom: 1px solid rgba(217, 217, 217, 0.40);
}
.cart_table td:not(.product-thumbnail){
    padding: 20px;
}
.cart_table .product-thumbnail img{
    display: block;
    width: 100%;
    aspect-ratio: 265 / 180;
    object-fit: cover;
    border-radius: 6px;
}
.attr{
    color: #ED1C24;
}
.cart_table td.product-name {
    max-width: 235px;
}
.cart_table td.product-name b {
    display: block;
}
.cart_table .wrap-quantity {
    padding: 0;
}
.item-cart {
    display: flex;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0px 1px 6px 0px rgba(0, 0, 0, 0.08);
    padding: 12px;
    margin-bottom: 20px;
}
.item-cart:hover{
    background-color: #F7F7F7;
}
.product-info {
    padding: 0 10px 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-info h3 {
    font-size: 24px;

}
.product-info .attr-khoahoc {
    padding-top: 0;
    border: 0;
    margin: 0;
    flex: 1;
}
.product-info .attr-khoahoc li label {
    flex: unset;
}
.product-info .attr-khoahoc li {
    margin-bottom: 5px;
}
.main-cart,
.spdx-box{
    padding-bottom: 50px;
}
/**/
.head-order {
    background-color: #222;
    padding: 16px;
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}
.cart_order_body {
    padding: 30px 20px 20px;
    background-color: #F8F8F8;
}
.item-line-cart {
    border-bottom: 3px solid rgba(217, 217, 217, 0.40);
    padding-bottom: 18px;
    margin-bottom: 18px;
}
.order-item {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-weight: 500;
    align-items: center;
}
.order-item label {
    font-weight: 600;
    text-transform: uppercase;
}
.order-total {
    color: #314788;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
}
@media only screen and (min-width: 991px) {
    .cart_totals{
        padding-left: 20px;
    }
}
.cart_totals .order-btn {
    width: 100%;
    margin-top: 40px;
    border-radius: 4px;
    justify-content: center;
    font-size: 18px;
    background-color: #314788;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}
.coupon-input {
    margin-bottom: 12px;
    position: relative;
}
.coupon-btn,
.coupon-input input {
    display: block;
    height: 48px;
    border-radius: 4px;
    width: 100%;
}
.coupon-input input {
    background-color: #EFEFEF;
    border: 0;
    font-style: italic;
   padding: 0 22px;
}
.coupon-input img {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
.coupon-btn{
    text-align: center;
    background-color: #E6EAF4;
    color: #314788;
    font-size: 18px;
    font-style: italic;
    font-weight: 500;
    border-color: transparent;
}
.coupon-btn:hover{
    background-color: #fff;
    border-color: #314788;
}
/*check out*/
.cart_order_body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
.list-order-product li{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.list-order-product li .order_product-name{
}
.list-order-product li .order_product-name .attr{
    color: #ED1C24;
}
.showcoupon-data {
    border-radius: 4px;
    background: #EFEFEF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-style: italic;
}
.showcoupon-data label{
    color: rgba(0, 0, 0, 0.40);;
}
.order-payment .title{
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
}
.order-payment li label{
    cursor: pointer;
}

/**/
.customer_details h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 32px;
    text-transform: uppercase;
    color: #000 !important;
}
.billing-fields h3 {
    margin: 20px 0;
    font-size: 20px;
    color: #262626;
}
.billing-fields input,
.billing-fields select,
.billing-fields textarea {
    border: 1px solid #EAEAEA;
    padding: 12px 20px;
    width: 100%;
    margin-bottom: 20px;
    color: rgba(0, 0, 0, 0.60);
    margin-top: 5px;
    border-radius: 5px;
}
.billing-fields textarea {
    height: 200px;
}
.billing-fields select {
    background-size: 12px;
    background-position: right 20px center;
}
@media only screen and (max-width: 1230px) {
    .cart_table td:not(.product-thumbnail) {
        padding: 10px;
    }
    .cart_table .wrap-quantity .input-text{
        width: 55px;
    }
}
@media only screen and (max-width: 1024px) {
    .main-cart .col-mb {
        width: 100%;
    }
    .cart_table td {
        padding: 10px 0;
    }
    /**/
    .pagecart-head-title .title {
        font-size: 30px;
    }
    .pagecart-head-title {
        padding: 20px 0;
    }
    .pagecart-head .pagecart-icon {
        bottom: 105px;
        width: 90px;
    }
    .cart-buoc li label {
        width: 60px;
        height: 60px;
        font-size: 26px;
        margin-bottom: 10px;
    }
    li.finish-buoc label::after {
        background-size: 26px;
        width: 26px;
        height: 26px;
    }
    .cart-buoc::after {
        width: 90%;
        height: 2px;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
    }
    .pagecart-head {
        margin-bottom: 50px;
    }
    .cart-head h2,
    .cart-head .num-pro {
        font-size: 22px;
    }
    .product-info h3 {
        font-size: 18px;
    }
}
@media only screen and (max-width: 900px) {
    .head-order{
        font-size: 16px;
    }
    .cart_table .product-thumbnail {
        max-width: 100px;
    }
    .order-total{
        font-size: 22px;
    }
    .main-cart .col-mb {
        width: 100%;
    }
}
@media only screen and (max-width: 768px) {
    .cart_table tr {
        display: block;
        justify-content: space-between;
    }
    .cart_table tr td{
        display: flex;
        width: 100%;
        justify-content: space-between;
    }
    .cart_table tr td::before{
        content: attr(data-title) ": ";
        font-weight: 700;
        float: left;
        font-size: 14px;
    }
    .cart_table td.product-name{
        max-width: unset;
    }
    .cart_table td.product-name a{
        text-align: right;
        flex: 1;
        padding-left: 15px;
    }
    .cart_table thead,
    .cart_table .product-thumbnail{
        display: none;
    }
    .cart_table tr:nth-child(2n) td {
        background-color: rgba(0,0,0,.025);
    }
    /**/
    .cart_totals .order-btn {
        margin-top: 20px;
    }
}
@media only screen and (max-width: 768px) {
    .buy-more {
        margin: 10px 0;
    }
    .buy-more a {
        padding: 5px 10px;
    }
    .head-order{
        padding: 10px;
    }
    .cart_order_body {
        padding: 20px 10px;
    }
    .main-cart,,
    .spdx-box {
        padding-bottom: 20px;
    }
    /**/
    .customer_details h2 {
        font-size: 22px;
    }
    .billing-fields h3 {
        margin: 10px 0;
        font-size: 16px;
    }
    .billing-fields input, .billing-fields select, .billing-fields textarea {
        padding: 10px 15px;
        margin-bottom: 10px;
    }
    .order-payment .title {
        font-size: 16px;
    }
    /**/
    .pagecart-head-title .title {
        font-size: 22px;
    }
    .cart-buoc li label {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-bottom: 10px;
    }
    .cart-buoc::after {
        width: 85%;
        top: 20px;
    }
    li.finish-buoc label::after {
        background-size: 20px;
        width: 20px;
        height: 20px;
    }

}
@media only screen and (max-width: 640px) {
    .cart-head {
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    .cart-head h2, .cart-head .num-pro {
        font-size: 18px;
    }
    .cart-buoc {
        margin-top: 30px;
        padding: 0 10px;
    }
    .cart-buoc li{
        font-size: 10px;
    }
    .product-info {
        padding: 0;
    }
    .coupon-btn{
        font-size: 16px;
    }
    .related-post .related-title {
        font-size: 22px;
    }
}