[data-component="shoppingCartLink"][data-cart-count]:not([data-cart-count="0"])::after {
    content: "("attr(data-cart-count)")";
    vertical-align: super;
    line-height: 4px;
    font-size: 12px;
}

.shop-cart-overlay {
    bottom: 0px;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    position: fixed;
    left: 0px;
    width: 100%;
    height: 100%;
    transition: opacity 0.30s ease-out;
    z-index: 2;
    max-height: 0px;
}

.shop-cart-popup {
    bottom: 0px;
    background: #222;
    position: fixed;
    right: 0px;
    width: 400px;
    height: 100%;
    max-width: 0;
    transition: max-width 0.30s ease-out;
    z-index: 4;
    color: white;
    display: flex;
    flex-direction: column;
    padding-top: 40px;
}

body.shop-cart-open .shop-cart-overlay { 
    max-height: 100%;
    opacity: 1;
    transition: opacity 0.30s ease-in;
}
body.shop-cart-open .shop-cart-popup {
    max-width: 400px;
    transition: max-width 0.30s ease-in;
}

body.shop-cart-open .shop-cart-popup > .close {
    opacity: 1;
}

.main-footer {
    z-index: 3;
}

.shop-cart-popup[data-cart-count="0"] [data-visibility="product"],
.shop-cart-popup[data-cart-count]:not([data-cart-count="0"]) [data-visibility="empty"] {
    display: none;
}

.shop-cart-popup[data-cart-count]:not([data-cart-count="0"]) [data-visibility="product"],
.shop-cart-popup[data-cart-count="0"] [data-visibility="empty"] {
    display: block;
}

.shop-cart-popup > .close {
    height: 40px;
    line-height: 40px;
    text-align: right;
    white-space: nowrap;
    width: 50%;
    margin-left: 50%;
    overflow: hidden;
    padding-right: 20px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;    
    position: absolute;
    top: 0px;
    right: 0px;
    opacity: 0;
}

.shop-cart-popup > .close:hover,
.shop-cart-overlay:hover + .shop-cart-popup > .close,
.shop-cart-popup .empty-button:hover + .close {
    color: #09851d;
}

.shop-cart-popup > .separator {
    background: #ddd;
    height: 1px;
    width: 80%;
    width: calc(100% - 40px);
    margin: 0 auto;    
}

.shop-cart-popup .cart-button,
.shop-cart-popup .empty-button {
    text-align: center;
    line-height: 48px;
    color: #fff;    
    text-transform: uppercase;
    cursor: pointer;
    margin: 20px auto;
    height: 48px;
    width: 80%;
    white-space: nowrap;
    overflow: hidden;    
    padding-left: 10px;
    padding-right: 10px;
    background: transparent;
}
.shop-cart-popup .cart-button::after,
.shop-cart-popup .cart-button::before,
.shop-cart-popup .empty-button::after,
.shop-cart-popup .empty-button::before {
    width: 80%;
    height: 48px;
    content: " ";
    position: absolute;
    left: 0px;
    bottom: 0px;
    margin: 20px 10%;
    border-radius: 3px;
    z-index: -1;
    transition: all 0.5s;
}
.shop-cart-popup .cart-button::before,
.shop-cart-popup .empty-button::before,
.shop-cart-popup .cart-button:hover::after,
.shop-cart-popup .empty-button:hover::after {
    opacity: 1;
}
.shop-cart-popup .cart-button::after,
.shop-cart-popup .empty-button::after,
.shop-cart-popup .cart-button:hover::before,
.shop-cart-popup .empty-button:hover::before {
    opacity: 0;
}

.shop-cart-popup .cart-button::before {
    background-image: linear-gradient(103deg, #1ac767, #00a63f);
}
.shop-cart-popup .cart-button::after {
    background-image: linear-gradient(-90deg, #1ac767, #068737);
}
.shop-cart-popup .empty-button::before {
    background-image: linear-gradient(-115deg, #6a8f7b, #a09e9e)
}
.shop-cart-popup .empty-button::after {
    background-image: linear-gradient(61deg, #6a8f7b, #48474b);
}

.shop-cart-popup > .total {
    height: 40px;
    line-height: 40px;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    padding-left: 20px;
    text-transform: uppercase;
} 

.shop-cart-popup > .total::after {
    content: ""attr(data-cost)"€";
    display: inline-block;
    float: right;
    padding-right: 20px;
}

.shop-cart-popup > .discount::after {
    content: attr(data-discount);
    display: inline-block;
    top: 0;
    position: absolute;
    right: 20px;
    line-height: 40px;
}

.shop-cart-popup > .no-products {
    padding: 20px;
    font-size: 20px;
}


.shop-cart-popup > .total,
.shop-cart-popup .cart-button,
.shop-cart-popup > .separator {
    flex-shrink: 0;
}

.shop-cart-popup > .products,
.shop-cart-popup > .no-products {
    flex: 1 1 auto;
    min-height: 100px;
}

body .shop-cart-popup > * {
    opacity: 0;
    transition: all 0.2s; 
}

body.shop-cart-open .shop-cart-popup > * {
    opacity: 1;
}

.shop-cart-popup > .products {
    overflow-x: hidden;
    overflow-y: auto;
    min-width: 400px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.shop-cart-popup > .products > .productRow {
    background: #312f2f;
    background-image: linear-gradient(-200deg, #282424, #2c2525);
    margin: 20px 20px 0px 20px;
    position: relative;
    clear: both;
    min-height: 55px;
}

.shop-cart-popup > .products > .productRow:first-child {
    margin-top: 0px;
}

.shop-cart-popup > .products > .productRow > .link {
    display: block;
    min-height: 55px;
    float: left;
    margin-bottom: -24px;
    width: 80%;
    width: calc(100% - 30px);
    transition: 0.2s;
    color: white;
    min-width: 300px;
}
.shop-cart-popup > .products > .productRow > .link:hover {
    color: #09851d;
}

.shop-cart-popup > .products > .productRow > .link > .image {
    float: left;
    width: 55px;
    height: 55px;
    margin-right: 15px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.1);
    font-size: 55px;
    line-height: 55px;
    text-align: center;
}

.shop-cart-popup > .products > .productRow > .link > .name {
    float: left;
    width: 50%;
    width: calc(100% - 70px);
    padding-bottom: 24px;
    line-height: 16px;
    font-size: 13px;
    word-break: break-word;
    padding-right: 5px;
}
.shop-cart-popup > .products > .productRow > .remove {
    float: right;
    color: white;
    font-size: 30px;
    font-weight: bold;
    transition: 0.2s;
    width: 30px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}
.shop-cart-popup > .products > .productRow > .remove:hover {
    color: #09851d;
}

.shop-cart-popup > .products > .productRow > .values {
    display: block;
    clear: both;
    padding-left: 70px;
    line-height: 24px;
    height: 24px;
    font-size: 12px;
    color: #c1b3b3;
    font-weight: bold;
}

.shop-cart-popup > .products > .productRow > .values > .quantity {
    display: inline-block;
    width: 100%;
}
.shop-cart-popup > .products > .productRow > .values > .quantity::after {
    content: ""attr(data-sum)"€";
    display: inline-block;
    float: right;
    padding-right: 5px;
    font-weight: normal;
    font-size: 15px;
}

.shop-cart-popup > .products > .productRow > .values > .quantity > input {
    border: 0px;
    height: 21px;
    margin-left: 10px;
    background-color: transparent;
    color: white;
    transition: 0.2s;
    width: 25%;
}
.shop-cart-popup > .products > .productRow > .values > .quantity > input:hover {
    background-color: #332f2f;
}