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

.cart-head{
    display: flex;
    box-sizing: border-box;
    padding: 10px 20px;
    margin: 0 0 20px 0;
    overflow: hidden;
    position: relative;
    color: #000;
    border-bottom: 1px solid #D8D8D8;
    font-weight: bold;
}
.cart-head .cart-title{min-width: calc(100% - 500px);}
.cart-head .cart-price{min-width: 150px;}
.cart-head .cart-quantity{min-width: 200px}
.cart-head .cart-total{min-width: 150px;}

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

.crtprd-title{min-width: calc(100% - 500px);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: 18px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}


.crtprd-title-text p{
    margin: 0;
    padding: 5px 0;
    font-size: 13px;
    color: #7b7b7b;
}
.crtprd-title-text small{
    color: #7b7b7b;
}
.crtprd-quantity{
    display: flex;
    align-items: center;
    min-width: 200px
}
.crtprd-quantity .quantity-cnt{
    display: flex;
    width: 85px;
    justify-content: center;
    position: relative;
}

.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: 20px;
    border: 0;
    padding: 0 15px;
    box-sizing: border-box;
    font-size: 14px;
    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{
    min-width: 150px;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
}

.remove-button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    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{
    background: #F6F6F6;
    box-sizing: border-box;
    padding: 0;
    margin-left: 30px;
    width: 390px;
    z-index: 1;
    display: flex;
    flex-flow: column nowrap;
}

.cart-totals{
    padding: 20px 25px;
}
.cart-totals h4{
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    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 {
    background: #f6f6f6;
    z-index: 1;
    padding: 20px 30px;
}

.coupon-module h4{
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    padding: 0 0 20px 0;
}
.coupon-module .coupon-form{

    display: flex;
    justify-content: space-between;
}
.coupon-module .coupon-form input[type=button] {
    background: #0BCF60;
    border: none;
    height: 45px; 
    padding: 15px 30px;
    font-size: 14px;
    box-sizing: border-box;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}
.coupon-module .coupon-form input[type=button]:hover{
    background: #1e9e55;
}

.coupon-module .coupon-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: 14px;
    border: 0;
    border-bottom: 1px solid #d8d8d8;
    background: 0;
}

#proceed{
    width: 80%;
    padding: 15px 20px;
    box-sizing: border-box;
    background: #0BCF60;
    border: none;
    color: #fff;
    font-weight: 400;
    margin: 20px auto 20px auto;
    display: inline-block;
    text-align: center;
    font-size: 18px;
    transition: 0.2s ease-in-out;
}
#proceed:hover{
    background: #1e9e55;
}

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

.alert {
    margin: 10px 0;
    width: 100%;
    box-sizing: border-box;
}
.alert.alert-danger {
    font-weight: 600;
    color: #D60B51;
}

.text-danger{ 
    font-weight: 600;
    color: #D60B51;
}

@media only screen and (max-width: 960px){
    .row{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 {
        flex-wrap: wrap;
    }
    .coupon-module .coupon-form input[type=text] {
        width: 100%;
        margin-bottom: 10px;
        max-width: 100%;
    }

    .carth {
        font-size: 22px;
        margin: 30px 0;
    }
}

@media only screen and (max-width: 750px){
    .cart-totals-container , .cart-modules{
        width: 100%;
    }
    .cart-totals-container{
        margin: 20px 0 0 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 {padding: 20px 20px;}
    .cart-totals h4 , .coupon-module h4 {font-size: 17px;}
    .coupon-module .coupon-form input[type=text], .coupon-module .coupon-form input[type=button] {height: 40px; font-size: 13px;}
    .cart-totals ul li , .price-total {font-size: 14px;}
    #proceed {
        padding: 12px 20px;
        font-weight: 600;
        font-size: 16px;
    }
}