#cart-page {margin: 30px auto;}
#cart-page.row{flex-wrap: wrap;}
.gblttl h1{
    margin: 0;
    padding: 0 0 10px 0;
}
.cart-items {
    width: 100%;
    box-sizing: border-box;
    background: #f1f1f1;
    margin-bottom: 30px; 
    padding: 20px 0;
}

.cart-head{
    display: flex;
    background: #f1f1f1;
    box-sizing: border-box;
    padding: 10px 20px;
    margin: 0 0 20px 0;
    overflow: hidden;
    font-size: 16px;
    position: relative;
    color: #000;
    border-bottom: 1px solid #D8D8D8;
    font-weight: 400;
}
.cart-head .cart-title{ flex: 0 0 40%; width: 40%;}
.cart-head .cart-price{flex: 0 0 20%; width: 20%; min-width: 150px;}
.cart-head .cart-quantity{flex: 0 0 20%; width: 20%;min-width: 150px}
.cart-head .cart-total{flex: 0 0 20%; width: 20%;min-width: 150px;}

.cart-item{

    display: flex;
    background: #f1f1f1;
    box-sizing: border-box;
    padding: 20px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #ababab;
}
.cart-item button span{display: none;}
.cart-item:last-child{border: 0;}

.crtprd-title{flex: 0 0 40%; width: 40%;display: flex;}
.crtprd-title-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}
.crtprd-title-text a {
    font-size: 15px;
    font-weight: 300;
    transition: all 0.3s ease-in-out;
}


.crtprd-title-text p{
    background: rgba(255, 255, 255, 0.01);
    margin: 0;
    padding: 5px 0;
    font-size: 12px;
    color: #7b7b7b;
}
.crtprd-title-text small{
    color: #7b7b7b;
}
.crtprd-quantity{
    display: flex;
    align-items: center;
    min-width: 150px;
    flex: 0 0 20%;
    width: 20%;
}

.crtprd-quantity .quantity-cnt{
    display: flex;
    width: 85px;
    justify-content: center;
    position: relative;
}

.crtprd-quantity .quantity-cnt label{display: none;}



.crtprd-quantity #plus, .crtprd-quantity #minus {
    height: 20px;
    width: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #D8D8D8;
    cursor: pointer;
}
.crtprd-quantity #plus{right: 0;}
.crtprd-quantity #minus{left: 0;}
.crtprd-quantity #plus::before, .crtprd-quantity #minus::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    height: 2px;
    width: 10px;
    transform: translate(-50%, -50%);
    background: #000;
}
.crtprd-quantity #plus::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    height: 10px;
    width: 2px;
    transform: translate(-50%, -50%);
    background: #000;
}

.crtprd-quantity input{
    width: 45px;
    height: 30px;
    border: 0;
    padding: 0 15px;
    box-sizing: border-box;
    font-size: 16px;
    text-align: center;
}
.crtprd-quantity input[type=number]::-webkit-inner-spin-button,
.crtprd-quantity input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.crtprd-quantity button:hover span{
    transform: rotate(90deg);
}
.crtprd-total, .crtprd-price{
    flex: 0 0 20%;
    width: 20%;
    min-width: 150px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
}

.remove-button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 25px;
    color: #ce2c1f;
    background: 0;
    border: 0;
    font-size: 20px;
    padding: 0 12px;
    cursor: pointer;
}
.refresh-button{
    background: 0;
    border: 0;
    font-size: 19px;
    padding: 0 0 0 15px;
    color: #00C189;
    cursor: pointer;
}

.cart-totals-container{
    
    box-sizing: border-box;
    padding: 0 0 0 30px;
    width: 420px;
    z-index: 1;
}

.cart-totals{
    background: #f1f1f1;
    padding: 20px 25px;
}
.cart-totals h4{
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    padding: 0 0 20px 0;
}

.cart-totals ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.cart-totals ul li:nth-child(odd) {
    border-bottom: 1px solid #d8d8d8;
}
.cart-totals ul li {
    padding: 12px 10px;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
}


.cart-modules {
    width: calc(100% - 420px);
    z-index: 1;
}

.coupon-module, #shipping_calculator {
    background: #f1f1f1;
    z-index: 1;
    padding: 20px 30px;
    margin: 0 0 30px 0 !important;
}

.coupon-module h4, #shipping_calculator h4{
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    padding: 0 0 20px 0;
}
.coupon-module .coupon-form, .shipping-form{
    display: flex;
    justify-content: space-between;
}

.coupon-module .coupon-form label, .shipping-form label{
    display: none; 
}

.coupon-module .coupon-form input[type=button], .shipping-form button {
    background: #9B8579;
    min-width: 190px; 
    border: 0;
    height: 45px;
    padding: 0 30px;
    font-size: 14px;
    box-sizing: border-box;
    font-weight: 400;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
}

.coupon-module .coupon-form input[type=text], .shipping-form input[type=text]{
    width: calc(100% - 170px);
    max-width: 450px;
    margin: 0 10px 0 0;
    box-sizing: border-box;
    padding: 6px 12px;
    height: 41px;
    font-size: 13px;
    border: 0;
    border-bottom: 1px solid #d8d8d8;
    background: 0;
}

#proceed{
    width: 100%;
    padding: 15px 20px;
    box-sizing: border-box;
    background: #F5A71D;
    color: #fff;
    font-weight: 400;
    margin: 20px 0 20px 0;
    display: inline-block;
    text-align: center;
    font-size: 16px;
    transition: 0.2s ease-in-out;
}
#proceed:hover{
    background: #9B8579;
    color: #fff;
}


#continue{
    width: 100%;
    padding: 15px 20px;
    box-sizing: border-box;
    background: #e0dfdf;
    color: #000;
    font-weight: 300;
    margin: 0 0 40px 0;
    display: inline-block;
    text-align: center;
    font-size: 16px;
    transition: 0.2s ease-in-out;
}
#continue:hover{
    background: #c4c3c3;
}
#cart-empty{
    display: block;
    min-height: 50vh;
}
#cart-empty .cart-empty{
    margin-top: 100px;
    font-size: 19px;
}
.price-total{
    font-size: 15px;
    font-weight: 300;
}

.alert {
    margin: 20px 0 0 0;
    width: 100%;
    padding: 0 20px 0 0;
    box-sizing: border-box;
    box-sizing: border-box;
}
.alert.alert-danger {
    font-weight: 300;
    color: red;
}
.alert button{
    background: transparent;
    border: none;
    padding: 0;
    color: red;
    padding: 5px;
    box-sizing: border-box;
    display: none;
}
.text-danger{
    font-weight: 300;
    color: red;
}
#tk{
    margin: 5px 0 20px;
    font-size: 10px;
}
.shipping-method {
    margin: 5px;
    font-size: 13px;
    font-weight: 400;
}

@media only screen and (max-width: 960px){
    .row,.alert{padding: 0 1rem;}
    .cart-head .cart-price {display: none;}
    .cart-head .cart-title { min-width: calc(100% - 280px); }
    .crtprd-price{display: none;}
    .crtprd-total{min-width: 140px;}
    .crtprd-quantity{
        min-width: 140px;
        box-sizing: border-box;
        padding: 0 0 0 10px;
    }
    .crtprd-title {min-width: calc(100% - 280px); }
    .coupon-module .coupon-form, #shipping_calculator,
    .coupon-module .shipping-form {
        flex-wrap: wrap;
    }
    .coupon-module .coupon-form input[type=text], #shipping_calculator input[type=text] {
        width: 100%;
        margin-bottom: 10px;
        max-width: 100%;
    }
    .cart-totals-container , .cart-modules {
        width: 50%;
    }
    .carth {
        font-size: 22px;
        margin: 30px 0;
    }
}

@media only screen and (max-width: 640px){
    .cart-modules {
        width: 100%;
        margin: 0 0 15px 0;
    }
    
    .cart-totals-container{
        width: 100%;
        padding: 0;
    }
    .cart-head{display: none;}
    .cart-item{
        margin: 0 0 15px 0;
        flex-wrap: wrap;
    }
    .crtprd-title{
        flex:0 0 100%;
    }
    .crtprd-quantity{
        min-width: 0;
        flex: 0 0 50%;
        padding: 10px 0 0 10px;
    }
    .crtprd-quantity input {
        width: 45px;
        height: 30px;
        font-size: 14px;
        padding: 0 5px;
    }
    .crtprd-total{
        min-width: 0;
        font-size: 16px;
        justify-content: flex-end;
        flex: 0 0 50%;
        padding: 10px 10px 0 0;
        box-sizing: border-box;
    }
    .crtprd-title-text {padding: 0 10px 0 10px;}
    .crtprd-title-text a {font-size: 14px;}
    .crtprd-title-text p {font-size: 12px;}
    .coupon-module, #shipping_calculator {padding: 20px 20px; margin: 0 0 20px 0 !important;}
    .cart-totals h4 , .coupon-module h4, #shipping_calculator h4 {font-size: 17px;}
    .coupon-module .coupon-form input[type=text], .coupon-module .coupon-form input[type=button], #shipping_calculator input[type=button] {height: 40px; font-size: 13px;}
    .cart-totals ul li , .price-total {font-size: 14px;}
    #proceed {
        padding: 12px 20px;
        font-weight: 400;
        font-size: 16px;
    }
}