
#cart-page {
    margin-bottom: 30px;
}

.cart-items {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 30px;
    padding: 0 0 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;
    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-title-text span {
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
}

.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: #f8f8f8;
    box-sizing: border-box;
    padding: 0 40px;
    margin: 0 0 0 30px;
    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% - 450px);
    z-index: 1;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

.cart-modules > div {
    background: #f8f8f8;
    padding: 20px;
    box-sizing: border-box;
    /*margin-bottom: 20px;*/
}

.cart-modules > div label {
    display: none;
}

.cart-modules > div input[type=text] {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    padding: 6px 0 6px 12px;
    height: 41px;
    font-size: 13px;
    border: 0;
    border-bottom: 1px solid #d8d8d8;
    background: 0;
}

.cart-modules > div input[type=button], .cart-modules > div input[type=submit] {
    background: #818a97;
    color: #fff;
    border: 0;
    min-width: 190px;
    height: 45px;
    padding: 0 30px;
    font-size: 14px;
    box-sizing: border-box;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;

}

.cart-modules > div .input-group {
    display: flex;
    flex-wrap: nowrap;
}

.cart-modules > div .input-group span {
    margin-top: 15px;
    padding-left: 15px;
}

.cart-modules > div input[type=button]:hover, .cart-modules > div input[type=submit]:hover {
    background: #63676d;
}

.panel-title {
    padding-left: 14px;
}


.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: var(--btn-bg);
    color: #fff;
    border: 0;
    min-width: 190px;
    height: 45px;
    padding: 0 30px;
    font-size: 14px;
    box-sizing: border-box;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.coupon-module .coupon-form input[type=button]:hover, .shipping-form button:hover {
    background: var(--btn-bg-hover);
}


.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: var(--primary-color-txt);
    color: #fff;
    border: none;
    border-radius: 3px;
    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: #7c4411;
}


#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;
    border-radius: 3px;
}

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

.coupon-error {
    color: red;
}

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

    .cart-modules > div {
        margin-bottom: 20px;
    }

    .cart-totals-container {
        margin: 0;
        display: flex;
        flex-flow: column;
        width: 100%;
        padding: 0 20px;

    }

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

    .cart-modules {
        width: 100%;
    }

}

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

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

}

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

    .cart-modules > div .input-group span {
        margin-top: 15px;
        padding: 0;
    }

    .cart-modules > div .input-group {
        flex-wrap: wrap;
    }

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