/* Coloe classes */
.woofc-black { fill: #333; }
.woofc-white { fill: #fff; }

/* Spinner */
.woofc-spinner {
    width: 40px;
    height: 40px;
    margin: 24px auto;
    background-color: #24303F;
  
    border-radius: 100%;  
    -webkit-animation: woofc-scaleout 1.0s infinite ease-in-out;
    animation: woofc-scaleout 1.0s infinite ease-in-out;
}

.woofc * {
    box-sizing: border-box;
}

.woofc {
    position: fixed;
    z-index: 999999999;
}

.woofc-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    z-index: 999999999;
}

.woofc-cart {
    position: fixed;
    z-index: 99999999;
    background-color: #fff;
    width: 400px;
    max-width: 100%;
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 12px;
    visibility: hidden;
    opacity: 0;
    transition: all 200ms ease-in-out;
}

.woofc-cart.woofc-cart--open {
    visibility: visible;
    opacity: 1;
}

.woofc-cart__close {
    background-color: #ff1744;
    padding: 18px;
    cursor: pointer;
    user-select: none;
}

.woofc-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

.woofc-cart-header__title {
    font-size: 20px;
    color: #24303F;
    padding: 0 10px 0 15px;
}

.woofc-cart-body {
    padding-bottom: 100px;
    overflow-y: auto;
    max-height: 480px;
    position: relative;
}

.woofc-cart-footer {
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.woofc-cart-cta {
    display: flex;
    width: 100%;
    background-color: #fff;
}

.woofc-cart-cta a.woofc-cart-cart {
    margin: 0 !important;
    padding: 10px !important;
    font-size: 19px;
    font-weight: bold;
    display: block !important;
    text-decoration: none !important;
    outline: none !important;
    flex: 1;
    border-right: 1px solid #888;
}

.woofc-cart-cta a.woofc-cart-checkout {
    margin: 0 !important;
    padding: 10px !important;
    font-size: 19px;
    font-weight: bold;
    display: block !important;
    text-decoration: none !important;
    flex: 1;
    outline: none !important;
}

.woofc-cart-subtotal {
    background-color: #fff;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
    color: #333;
}

.woofc-cart-trigger {
    background-color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.woofc-cart-trigger__counter {
    position: absolute;
    top: -15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.woofc-cart-products {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woofc-cart-product {
    position: relative;
    display: flex;
    padding: 10px 15px;
    margin: 0 10px;
    border-bottom: 1px dashed #e0e0e0;
}

.woofc-cart-product:last-child {
    border-bottom: none;
}

.woofc-cart-product > a {
    width: 20%;
}

.woofc-cart-product > div:nth-child(2) {
    width: 50%;
    padding: 0 10px;
}

.woofc-cart-product > div:nth-child(3) {
    width: 30%;
}

.woofc-cart-product .variation {
    margin: 2px 0 !important;
}

.woofc-cart-product__image {
    width: 100% !important;
}

.woofc-cart-product__name {
    color: #24303F;
    margin-bottom: 6px;
    display: block;
    font-size: 15px;
    line-height: 16px;
}

.woofc-cart-product__qty {
    position: relative;
    display: flex;
    align-items: center;
}

.woofc-cart-product__qty-input {
    background: #fff !important;
    box-shadow: none !important;
    border-top: 1px solid #ccc !important;
    border-bottom: 1px solid #ccc !important;
    border-left: none !important;
    border-right: none !important;
    padding: 0 10px !important;
    margin: 0 !important;
    width: 48px !important;
    display: block !important;
    outline: none !important;
    -moz-appearance: textfield !important;
}

.woofc-cart-product__qty-input::-webkit-inner-spin-button,
.woofc-cart-product__qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.woofc-cart-product__qty-plus {
    border: 1px solid #ccc;
    padding: 0 10px;
    cursor: pointer;
    user-select: none;
    border-radius: 4px 0 0 4px;
}

.woofc-cart-product__qty-minus {
    border: 1px solid #ccc;
    padding: 0 10px;
    cursor: pointer;
    user-select: none;
    border-radius: 0 4px 4px 0;
}

.woofc-cart-product__total {
    font-size: 16px;
    font-weight: bold;
}

.woofc-cart-product__remove {
    background-color: #616161;
    position: absolute;
    top: 5px;
    padding: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
}
.woofc-cart-product:hover .woofc-cart-product__remove {
    display: block;
}

.woofc-cart-empty-message {
    text-align: center;
    padding: 30px 10px;
}

@media ( max-width: 424px ) {
    .woofc-cart {
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0;
        width: 100%;
    }

    .woofc-cart-product__remove {
        display: block;
        padding: 8px;
        width: 30px;
        height: 30px;
    }

    .woofc-cart-cart,
    .woofc-cart-checkout{
        padding: 15px 10px !important;
    }
}