
[x-cloak] { display: none !important; }

.ic-cart-count-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ic-cart-wrapper .ic-cart-list {
    display: flex;
    flex-direction: column;
}

.ic-cart-wrapper .ic-cart-item {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.ic-cart-wrapper .ic-cart-item-image {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ic-cart-wrapper .ic-cart-item-image img {
    width: 100%;
}

.ic-cart-wrapper .ic-cart-item-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.ic-cart-wrapper .ic-cart-item-remove {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    top: 0;
    right: 0;
}

.ic-cart-wrapper .ic-cart-empty-message {
    text-wrap: balance;
}

.ic-cart-wrapper .ic-cart-empty-message *:last-child {
    margin-bottom: 0;
}


/* Cart count widget - add-to-cart animation trigger */
.ic-cart-count-wrapper.ic-cart-item-added {
    animation-name: heartBeat;
    animation-duration: 1.3s;
    animation-timing-function: ease-in-out;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}
