﻿.cartFlyout, .cartNotification {
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    background: white;
    -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,0.5);
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.5);
}

    .cartFlyout button.checkoutButton {
        width: 100%;
        margin: 30px auto;
        background: #000;
        font-family: 'Montserrat';
        font-weight: 700;
        font-size: 0.875rem;
        padding: 18px 24px;
        width: 100%;
        color: white;
        line-height: 1rem;
    }

    .cartFlyout h4 {
        margin: 30px 0;
        line-height: 1;
        text-align: left;
        padding: 0 16px;
    }

    .cartNotification h6 {
        margin: 30px 0;
        padding: 0 16px;
    }

    .cartFlyout > div, .cartNotification > div {
        padding: 0 16px;
    }

        .cartFlyout > div.small-6 p {
            margin-bottom: 12px;
            color: #474038;
        }

        .cartFlyout > div.small-6 h5 {
            margin: 8px auto 30px;
        }

        .cartFlyout > div:last-of-type button {
            margin-bottom: 40px;
        }

        .cartNotification > div:last-of-type button {
            margin-bottom: 20px;
        }

    .cartFlyout > hr, .cartNotification > hr {
        border-bottom: 1px solid #E1DED4;
        width: calc(100% - 32px);
        margin: 0 16px 30px;
    }

    .cartFlyout > div:first-of-type {
        text-align: center;
    }

    .cartFlyout .continueButton {
        color: #000;
        text-decoration: none;
        font-family: 'Montserrat';
        font-size: 0.875rem;
        font-weight: 700;
        margin-left: -20px;
    }

.cartProduct {
    position: relative;
    margin-bottom: 40px;
}

    .cartProduct img {
        padding: 0;
        margin-right: 18px;
        vertical-align: top;
        max-width: 93px;
        filter: invert(0);
    }

    .cartProduct > div:first-of-type {
        width: calc(100% - 140px);
        display: inline-block;
    }

        .cartProduct > div:first-of-type p {
            color: #5F6164;
            margin-bottom: 14px;
        }

            .cartProduct > div:first-of-type p:first-of-type {
                font-size: 0.875rem;
                line-height: 1;
                font-weight: 700;
                color: #000;
            }

    .cartProduct h5, .productAmount h5 {
        width: calc(100% - 126px);
        display: inline-block;
        margin: 2px auto;
        line-height: 39px;
        vertical-align: top;
    }

    .cartProduct h5 {
        display: block;
        width: auto;
        text-align: left;
    }

button.remove, button.save {
    font-size: 0.6875rem;
    font-family: 'Montserrat';
    font-weight: 700;
    position: relative;
}

    button.remove::after, button.save::after {
        content: '';
        width: 100%;
        height: 1px;
        display: block;
        position: absolute;
        bottom: -4px;
        left: 0;
        background: rgb(0,0,0);
        background: -webkit-gradient(linear, left top, right top, from(rgba(0,0,0,1)), color-stop(60%, rgba(0,0,0,1)), color-stop(60%, rgba(255,255,255,0)), color-stop(66%, rgba(255,255,255,0)), color-stop(66%, rgba(0,0,0,1)), color-stop(86%, rgba(0,0,0,1)), color-stop(86%, rgba(255,255,255,0)), color-stop(92%, rgba(255,255,255,0)), color-stop(92%, rgba(0,0,0,1)));
        background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 60%, rgba(255,255,255,0) 60%, rgba(255,255,255,0) 66%, rgba(0,0,0,1) 66%, rgba(0,0,0,1) 86%, rgba(255,255,255,0) 86%, rgba(255,255,255,0) 92%, rgba(0,0,0,1) 92%);
    }

button.save {
    margin-left: 20px;
}

.productQty {
    display: inline-block;
    border: 2px solid #000;
    width: 120px;
}

    .productQty .decrease, .productQty .increase {
        width: 30px;
        padding: .5rem;
        float: left;
        height: 2.4375rem;
        line-height: 2;
        text-align: center;
        font-size: 0.75rem;
    }

    .productQty input {
        width: calc(100% - 60px);
        float: left;
        margin-bottom: 0;
        margin-top: 0;
        text-align: center;
        border: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        font-family: 'FinancierDisplay-Bold';
        font-size: 1.375rem;
        background: none;
        height: 2.4375rem;
        padding: .5rem;
    }

.cartProduct .favorite {
    top: 0;
    right: 16px;
    position: absolute;
}

.favorite input {
    opacity: 0;
    cursor: pointer;
    height: 23px;
    width: 26px;
    margin: 0;
}

.favorite span.heartCheckbox {
    display: block;
    width: 26px;
    height: 23px;
    position: absolute;
    top: 0;
    left: 0;
}

    .favorite span.heartCheckbox::after {
        content: '';
        display: block;
        width: 26px;
        height: 23px;
        position: absolute;
        top: 0;
        left: 0;
        background-image: url("../img/heart-icon.16d36ee35d6b.svg");
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

.favorite input:checked ~ span.heartCheckbox::after {
    background-image: url("../img/heart-icon-selected.059fa87bc622.svg");
}
