#cartform {
    display: flex;
    flex-wrap: wrap;
}

#cartform .cart-items-div {
    flex: 0 0 75%;
    padding-right: 30px;
}

.mobile-subtotal,
.item-price-mobile,
.remove-btn-mobile,
.mobile-label {
    display: none;
}

.order-summary {
    flex: 0 0 25%;
}

.summary-contents > div.discount-coupon {
    padding: 10px 25px;
}

.discount-coupon > div:first-child {
    color: #B52025;
    display: flex;
}

.discount-coupon .toggle-discount span {
    background: #B52025;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 50%;
    color: #fff;
    margin-right: 8px;
    cursor: pointer;
}

.discount-coupon .toggle-discount p {
    margin: 0;
}

.discount-coupon .toggle-discount.hide > * {
    display: none;
}

.discount-coupon .toggle-discount .fas {
    font-size: 10px;
}

.discount-coupon > div:last-child {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s all ease-in-out;
}

.discount-coupon .discount-div.show {
    max-height: 1000px;
    transition: 0.3s all ease-in-out;
}

.discount-coupon .discount-div > div:last-child {
    padding: 15px;
}

.discount-coupon .discount-div > div:first-child {
    text-align: right;
}

.discount-coupon .discount-div > div:first-child span {
    cursor: pointer;
}

.discount-coupon .discount-div.show {
    padding-top: 10px;
}

.discount-coupon .discount-div > div > * {
    width: 100%;
}

.discount-input input {
    font-size: 14px;
    font-size: 14px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #b0b0b0;
    padding: 10px;
}

#cart-page .top-message-wrapper {
    margin-top: 15px;
    color: #3a6da8;
    font-weight: 700;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 5px;
}

#cart-page .message-error .top-message-wrapper {
    color: #cb2323;
}

#add_coupon_form {
    display: none;
}

a#apply-discount-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    border: 1px solid #b0b0b0;
    border-radius: 5px;
    color: #666666;
}

a#apply-discount-btn:hover {
    color: #fff;
    background: #1B6CCB;
    border: 1px solid #1B6CCB;
}

.discount-coupon .discount-div .discount-button {
    margin-top: 15px;
}

.discount-button input {
    padding: 10px;
    font-size: 17px;
    border: 1px solid #A4A4A4;
    border-radius: 5px;
    color: #6f6e6e;
    font-weight: 700;
}

.summary-contents {
    border: 1px solid #A4A4A4;
    border-radius: 5px;
}

.summary-contents {
    padding-top: 25px;
}

.summary-header h4 {
    font-size: 18px;
    font-weight: 700;
}

.summary-contents > div {
    padding: 0 25px;
}

.cart-tax {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.summary-contents .summary-total {
    border-top: 1px solid #A4A4A4;
    border-bottom: 1px solid #A4A4A4;
    padding: 10px 25px;
}

.cart-shipping,
.sub-total,
.summary-total {
    display: flex;
    justify-content: space-between;
}

.cart-shipping,
.sub-total {
    margin-bottom: 5px;
}

.summary-total {
    font-size: 17px;
    font-weight: 700;
}

.or-separator {
    position: relative;
    margin-top: 10px;
}

.or-separator span {
    display: block;
    width: 60px;
    margin: 0 auto;
    text-align: center;
    z-index: 10;
    position: relative;
    background: #fff;
    margin: 0 auto;
    color: #d0d0d0;
}

.or-separator:after {
    content: '';
    width: 100%;
    height: 1px;
    background: #d0d0d0;
    position: absolute;
    left: 0;
    top: 11px;
}

.proceed-to-checkout {
    margin-top: 15px;
}

.proceed-to-checkout button {
    width: 100%;
    background: #6FB73B;
    font-size: 15px;
    padding: 10px;
}

.proceed-to-checkout button:hover {
    background: #4e7f2a;
}

.affirm-site-modal img, #affirm-learn-more img {
    width: auto;
    margin-left: 5px;
}

.affirm-site-modal {
    margin-bottom: 10px;
}

#affirm-learn-more {
    display: flex;
    align-items: baseline;
    color: #484848;
    padding-top: 4px;
    padding-bottom: 7px;
    margin: 10px 0;
    text-decoration: none;
    font-size: 15px;
    color: #787878;
}

#google_pay button {
    width: 100%;
}

.cart-item-wrapper {
    border: 1px solid #A4A4A4;
    border-radius: 5px;
}

#cart-page .btn-info.btn-arrow-right {
    background: #3A6DA7;
    border: 1px solid #3A6DA7;
}

#cart-page .btn-info.btn-arrow-right:active,
#cart-page .btn-info.btn-arrow-right:hover {
    background: #154a9b;
    border: 1px solid #154a9b;
}

#cart-page .btn-arrow-left:after, #cart-page .btn-arrow-right:before {
    background-color: #fff;
    border: 1px solid #fff;
}

#cart-page-div {
    margin-bottom: 50px;
}

#cart-page-div #affirm-learn-more img {
    width: 55px;
    height: auto;
}

#cart-page-div .cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-top: 1px solid #A4A4A4;
}

#cart-page-div .cart-item > div:last-child {
    flex: 0 0 calc(100% - 120px);
    max-width: calc(100% - 120px);
    display: flex;
    align-items: center;
}

#cart-page-div .cart-item .product-details {
    flex: 0 0 calc(100% - 270px);
    max-width: calc(100% - 270px);
    padding-left: 15px;
}

#cart-page-div .cart-item .product-details > * {
    display: block;
}

#cart-page-div .cart-item .product-details > *:first-child {
    color: #0776E5;
}

#cart-page-div .cart-item .product-details a {
    text-decoration: none;
    color: #343A40;
    font-weight: 700;
    margin: 5px 0;
}

#cart-page-div .cart-item .product-details > *:last-child {
    color: #939393;
}

#cart-page-div .item-price,
#cart-page-div .item-amount,
#cart-page-div .item-qty {
    width: 80px;
    padding: 10px;
}

.item-qty {
    position: relative;
}

.item-qty select {
    color: #757575;
}

.qty-add-minus {
    position: absolute;
    right: 15px;
    top: 10px;
    height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qty-add-minus .fas {
    display: block;
    color: rgb(190, 190, 190);
    cursor: pointer;
}

.qty-add-minus .fas:hover {
    color: rgb(133, 133, 133);
}

.remove-btn {
    width: 30px;
}

.remove-btn a {
    display: block;
    color: #fff;
    background: #B52025;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

#cart-page-div .cart-item .cart-image-wrapper {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border: 1px solid #e3e3e3;
    padding: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cart-page-div .cart-item .cart-image-wrapper > a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 100%;
    height: 120px;
}

#cart-page-div .cart-item .cart-image-wrapper > a img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.cart-headers {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    font-weight: 700;
}

.cart-headers .cart-product {
    flex: 0 0 120px;
    max-width: 120px;
}

.cart-header-labels,
.cart-prices-div {
    display: flex;
    align-items: center;
}

.cart-header-labels > div:not(:first-child) {
    width: 80px;
    padding: 0 10px;
}

.cart-label-offset {
    flex: 0 0 calc(100% - 270px);
    max-width: calc(100% - 270px);
}

.title-header {
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: Roboto-Bold;
}

.btn-arrow-left,
.btn-arrow-right {
    position: relative;
    padding-left: 18px;
    padding-right: 18px
}

.btn-arrow-right {
    padding-left: 36px
}

.btn-arrow-left {
    padding-right: 36px
}

.btn-arrow-left:after,
.btn-arrow-left:before,
.btn-arrow-right:after,
.btn-arrow-right:before {
    content: "";
    position: absolute;
    top: 5px;
    width: 26px;
    height: 26px;
    background: inherit;
    border: inherit;
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-radius: 0 4px 0 0;
    -webkit-border-radius: 0 4px 0 0;
    -moz-border-radius: 0 4px 0 0
}

.btn-arrow-right:after,
.btn-arrow-right:before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg)
}

.btn-arrow-left:after,
.btn-arrow-left:before {
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    -ms-transform: rotate(225deg)
}

.btn-arrow-left:before,
.btn-arrow-right:before {
    left: -11px
}

.btn-arrow-left:after,
.btn-arrow-right:after {
    right: -11px
}

.btn-arrow-left:before,
.btn-arrow-right:after {
    z-index: 1
}

.btn-arrow-left:after,
.btn-arrow-right:before {
    background-color: #fff
}

.continue-shopping a {
    color: #fff;
}

.continue-shopping a:hover {
    color: #fff;
}

.btn-info:hover {
    background-color: #0ab1d2;
}

.continue-shopping {
    text-align: right;
    margin-top: 30px;
}

.continue-shopping-footer {
    display: none;
}

.cart-info-help {
    border: 1px solid #A4A4A4;
    border-radius: 5px;
    margin-top: 15px;
    padding-top: 15px;
}

.cart-info-help > span {
    display: block;
    padding: 0 15px;
}

.cart-info-help > span:first-child {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 15px;
}

.cart-info-help span.last {
    margin-bottom: 15px;
}

.cart-info-help > div {
    border-top: 1px solid #A4A4A4;
    padding: 15px;
}

.cart-info-help > div a {
    text-decoration: none;
    color: #445264;
}

.cart-info-help > div a:hover {
    color: #3d3d3d;
}

.stepper-next {
    display: inline-block;
}

@media only screen and (max-width: 1199px) {
    .order-summary {
        flex: 0 0 30%;
    }

    #cartform .cart-items-div {
        flex: 0 0 70%;
    }

    .summary-contents > div {
        padding: 0 15px;
    }
}

@media only screen and (max-width: 991px) {
    #cartform .cart-items-div,
    .order-summary {
        flex: 0 0 100%;
        padding-right: 0px;
    }

    #cartform .cart-items-div {
        margin-bottom: 15px;
        border: 0;
    }

    #cart-page-div .cart-item,
    .cart-item-wrapper {
        border: 0;
    }

    .cart-headers {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .mobile-label {
        display: block;
        position: absolute;
        top: 0;
        left: 15px;
        font-size: 12px;
    }

    .cart-prices-div {
        margin-top: 15px;
    }

    .summary-contents,
    .proceed-to-checkout,
    .paypal-box,
    #affirm-promotional,
    .google-box,
    .cart-info-help {
        max-width: 520px;
        margin: 0 auto;
    }

    .proceed-to-checkout {
        margin-top: 20px;
    }

    .cart-info-help {
        margin-top: 40px;
    }

    #cart-page-div .cart-item > div:last-child,
    .item-price-mobile,
    .mobile-subtotal {
        display: block;
    }

    #cart-page-div .cart-item .product-details {
        width: 100%;
        max-width: 100%;
    }

    .item-price {
        display: none;
    }

    .item-amount {
        flex: 0 0 calc(100% - 80px);
        max-width: calc(100% - 80px);
        font-weight: 700;
    }

    .final-price,
    .item-price-mobile {
        display: flex;
    }

    #cart-page-div .product-details > *:nth-child(1),
    #cart-page-div .product-details > *:nth-child(3) {
        display: none;
    }

    .item-amount .price-label,
    .item-amount .mobile-subtotal {
        width: 80px;
        display: inline-block;
        font-weight: 500;
    }

    #cart-page-div .cart-item {
        position: relative;
        background: #fbfbfb;
        margin-bottom: 10px;
    }

    #cart-page-div .cart-item .cart-image-wrapper {
        position: relative;
    }

    .remove-btn-mobile.remove-btn {
        display: block;
        position: absolute;
        left: 3px;
        top: 3px;
    }

    .remove-btn {
        display: none;
    }
}

@media only screen and (max-width: 991px) {
    #paymentForm > div:last-child > div:first-child {
        width: 200px;
    }
}

@media only screen and (max-width: 400px) {
    #cart-page .btn-info.btn-arrow-right {
        margin-right: 20px;
    }
    
    .continue-shopping {
        margin-right: 20px;
    }
    
    #cart-page-div .cart-item .cart-image-wrapper {
        width: 90px;
        height: 90px;
    }

    #cart-page-div .cart-item > div:last-child {
        flex: 0 0 calc(100% - 90px);
        max-width: calc(100% - 90px);
    }

    #cart-page-div .cart-item {
        padding: 5px;
    }

    #cart-page-div .item-amount {
        padding: 0;
    }

    #cart-page-div .item-qty {
        width: auto;
    }

    .summary-contents > div {
        padding: 0 15px;
    }
    .summary-contents .summary-total,
    .summary-contents > div.discount-coupon {
        padding: 10px 15px;
    }

    .discount-coupon .discount-div > div:last-child {
        padding: 0px;
    }

    .hide-discount {
        margin-bottom: 15px;
        display: inline-block;
    }

    .discount-button input {
        font-size: 15px;
        margin-bottom: 10px;
    }
}