#shopBagOverlay{background-color:rgba(0,0,0,0.5);display:none;height:100dvh;position:fixed;top:0;width:100%;z-index:999999;}
#shopBagPlacer{background-color:#FFF;display:flex;flex-direction:column;float:right;height:100dvh;position:relative;width:300px;}
#shopBagHeader{background-color:#F4EFE9;height:50px;line-height:50px;text-align:center;}
#shopBagHeaderText{color:#333;float:left;width:calc(100% - 50px);}
#shopBagHeaderClose{float:left;height:50px;width:50px;}
#shopBagHeaderClose:hover{background-color:#C33;color:#FFF;cursor:pointer;}
#shopBagContent{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;width:100%;-ms-overflow-style:none;scrollbar-width:none;}
#shopBagContent::-webkit-scrollbar{display:none;height:0;width:0;}
#shopBagContent li{background-color:#F4EFE9;margin:10px;padding:10px;width:calc(100% - 40px);}
#shopBagContent li::after{clear:both;content:'';display:table;}
#shopBagContent .shopBagNotice{background:transparent;margin:10px 10px 0;padding:0;width:calc(100% - 20px);}
#shopBagContent .shopBagNotice::after{display:none;}
.shopBagNotice .notice{box-sizing:border-box;margin:0;width:100%;}
.shopBagImageOverlay{background-color:#FFF;float:left;height:80px;position:relative;width:80px;}
.shopBagImageOverlay img{
    display:block;
    max-height:80px;
    margin:0 auto;
    max-width:80px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
.shopBagContentInfo{float:left;width:calc(100% - 100px);margin-left:20px;}
.shopBagContentInfo p{font-size:85%;margin-top:5px;width:100%;}
.shopBagContentPrice{color:#666;}
.editShopBagContent{margin-top:0;}
.editShopBagContent::after{display:table;clear:both;content:"";}
.editShopBagContent form{float:left;}
.editShopBagContent form[action*="/shop/public/cart/remove"],
.editShopBagContent form[action*="/cart/remove"]{display:block!important;float:right;}
.editShopBagContentBlock{cursor:pointer;float:left;height:30px;line-height:30px;margin-top:10px;text-align:center;width:30px;}
.editShopBagContentBlock:first-child, .editShopBagContentBlock:last-child{background-color:#FFF;}
.editShopBagContentBlock.itemButton{
    align-items:center!important;
    border-radius:0!important;
    display:flex!important;
    justify-content:center!important;
    line-height:1!important;
    padding:0!important;
}

#shopBagFooter{background-color:#FFF;border-top:1px solid #CCC;flex:0 0 auto;margin:0 10px 10px;padding:10px 0;width:calc(100% - 20px);}
#checkout{background-color:var(--main-color);color:#FFF;display:block;height:50px;line-height:50px;text-align:center;text-decoration:none;width:100%;}
#checkout:hover{cursor:pointer;text-decoration:underline;}
#checkoutPrice{height:30px;}
#checkoutPrice::after{clear:both;content:'';display:table;}
.itemShopCounter{height:30px;margin-top:10px;width:100%;}
.itemShopCounter::after{clear:both;content:'';display:table;}
.itemButton{align-items:center;background-color:#FFF;border:1px solid #CCC;border-radius:0!important;box-sizing:border-box;display:flex;float:left;height:30px;justify-content:center;line-height:1;text-align:center;width:30px;}
.itemButton:hover{cursor:pointer;}
.shopBagRemoveButton{
    align-items:center;
    background-color:transparent;
    border:none;
    color:#8d4f45;
    cursor:pointer;
    display:flex;
    float:right;
    font-size:18px;
    height:30px;
    justify-content:center;
    line-height:1;
    margin-left:8px;
    margin-top:10px;
    padding:0;
    width:30px;
}
.shopBagRemoveButton:hover{color:#c33;}
.itemShopCounterTotal{
    align-items:center;
    display:flex;
    float:left;
    height:30px;
    justify-content:center;
    line-height:1;
    margin:0 5px;
    margin-top:10px;
    text-align:center;
    width:30px;
}

body.shopbag-open{overflow:hidden;}
.emptyShopBagLine{color:#666;font-size:90%;text-align:center;}
