
#cart-page {
    margin: 30px auto;
    flex-direction: column;
    max-width: 1750px;
    flex-flow: wrap;
}

.row.extra {
    margin: 30px auto;
    flex-direction: column;
    max-width: 1750px;
    flex-flow: wrap;
    justify-content: space-between;
}

#cart-page .gblttl h1 {
    font-size: 32px;
    color: #323232;
    margin: 0 0 20px 0;
    padding: 0;
}

.cart-items {
    background: #FAFAFA;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 30px;
    padding: 20px 0;
}

.cart-head {
    display: flex;
    box-sizing: border-box;
    padding: 10px 20px;
    margin: 0;
    overflow: hidden;
    font-size: 16px;
    position: relative;
    color: #000;
    border-bottom: 1px solid #D8D8D8;
    font-weight: 500;
}

.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;
    box-sizing: border-box;
    padding: 20px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #ababab;
}

.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: 500;
    color: #303c41;
    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 input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.crtprd-quantity button:hover span {
    transform: rotate(90deg);
}

.crtprd-quantity .refresh-button {
    background: 0;
    border: 0;
    font-size: 0;
    padding: 0 0 0 15px;
    color: #00C189;
    cursor: pointer;
}

.crtprd-quantity .refresh-button img {
    height: 20px;
    transition: 0.5s all ease-in-out;
}

.crtprd-quantity .refresh-button:hover img {
    transform: rotate(360deg);
}

.crtprd-total, .crtprd-price {
    flex: 0 0 20%;
    width: 20%;
    min-width: 150px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
}

.remove-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 25px;
    width: 25px;
    height: 25px;
    background: 0;
    border: 0;
    font-size: 20px;
    padding: 0;
    cursor: pointer;
    content: '';
}

.remove-button::before {
    width: 1px;
    height: 20px;
    position: absolute;
    content: '';
    background: #c90000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.remove-button::after {
    width: 1px;
    height: 20px;
    position: absolute;
    content: '';
    background: #c90000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

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

.cart-totals {
    padding: 20px 0;
}

.cart-totals h4 {
    margin: 0;
    font-size: 19px;
    font-weight: bold;
    padding: 0 0 10px 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 0;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
}

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

.cart-modules > div {
    background: #FAFAFA;
}

.coupon-module, #shipping_calculator {
    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: 500;
    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:  #4d85c5;
    min-width: 190px;
    border: 0;
    height: 45px;
    padding: 0 30px;
    font-size: 15px;
    box-sizing: border-box;
    font-weight: 400;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.coupon-module .coupon-form input[type=button]:hover, .shipping-form button:hover {
    background: #000;
}


.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: #4d85c5;
    color: #fff;
    font-weight: 500;
    margin: 20px 0 20px 0;
    display: inline-block;
    text-align: center;
    font-size: 16px;
    transition: 0.2s ease-in-out;
}

#proceed:hover {
    background: #000;
}


#continue {
    width: 100%;
    padding: 15px 20px;
    box-sizing: border-box;
    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;
    background: #ebebeb;
}

#continue:hover {
    background: #e4e4e4;
}

#cart-empty {
    display: block;
    min-height: 50vh;
}

#cart-empty .cart-empty {
    margin-top: 100px;
    font-size: 19px;
}

.price-total {
    font-size: 15px;
    font-weight: 500;
}

.alert {
    margin: 0 auto 20px auto;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 500;
}

.alert.alert-danger {
    color: #d70000;
}

.alert button {
    display: none;
}

.text-danger {
    font-weight: 300;
    color: #d70000;
}

#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) {
    .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);
    }

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

    .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%;
    }

}

@media only screen and (max-width: 760px) {
    .coupon-module .coupon-form, #shipping_calculator, .coupon-module .shipping-form {
        flex-wrap: unset;
    }

    .cart-modules {
        width: 100%;
        margin: 0 auto 30px auto;
    }

    .cart-totals-container {
        width: 100%;
        margin: 0;
    }

    .cart-totals-container .cart-totals {
        width: 100%;
    }

    .cart-totals-container {
        flex-flow: column nowrap;
        align-items: center;
        display: flex;
    }
}

@media only screen and (max-width: 640px) {

    .cart-modules {
        width: 100%;
        margin: 0 0 15px 0;
    }

    .cart-totals-container {
        width: 100%;
        padding: 0 20px;
    }

    .cart-head {
        display: none;
    }

    .cart-item {
        margin: 0 0 15px 0;
        flex-wrap: wrap;
    }

    .crtprd-title {
        flex: 0 0 100%;
        width: 100%;
        padding-right: 40px;
        box-sizing: border-box;
    }

    .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;
    }

    .cart-totals h4, .coupon-module h4, #shipping_calculator h4 {
        font-size: 17px;
    }

    .cart-totals ul li, .price-total {
        font-size: 14px;
    }

    #proceed {
        padding: 12px 20px;
        font-weight: 400;
        font-size: 16px;
    }

    .coupon-module .coupon-form input[type=text], .coupon-module .coupon-form input[type=button], #shipping_calculator input[type=button] {
        height: 40px;
        font-size: 13px;
    }

    .coupon-module, #shipping_calculator {
        padding: 20px 20px;
        margin: 0 0 20px 0 !important;
    }
}

@media only screen and (max-width: 480px) {
    .coupon-module .coupon-form, #shipping_calculator, .coupon-module .shipping-form {
        flex-wrap: wrap;
    }
}