/* custom icon badge is added in php file if user is logged in*/
#user-favorites,
#user-favorites-mobile{
    cursor: pointer;
}

.custom-favorites-header{
    display: block;
    width: 100%;
    background-color: #EAE6DA;
    border-bottom: #E0DDD9 1px solid;
    box-sizing: border-box;
    padding: 15px;
}

img.close-favorites-btn{
    display: inline;
    float: right;
    width: 20px;
    max-width: 20px;
    height: 20px;
    max-height: 20px;
    cursor: pointer;
}

img.custom-favorites-icon{
    display: inline;
    float: left;
    width: 20px;
    max-width: 20px;
    height: 20px;
    max-height: 20px;
}

h2.custom-favorites-heading{
    display: inline;
    font-size: 14px;
    line-height: 20px;
    margin: 2px 0px 2px 10px;
}

.custom-favorites-overlay {
    background-color: transparent;
    transform: scale(0);
    transition: background-color 0.4s, transform 0s 0.4s;
}

.custom-favorites-overlay.open {
    transform: scale(1);
    overflow: hidden;
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    transition: background-color 0.4s, transform 0s;
    text-align: left;
}

.custom-favorites{
    position: fixed;
    z-index: 9999;
    left: auto;
    right: 0;
    top: 0px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    font-size: 14px;
    min-height: 200px;
    width: 350px;
    max-width: 100%;
    transition: .3s;
    background-color: #F3EFE3;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
    border-style: none;
    border-color: initial;
    border-radius: 0;
    margin-top: 0; 
    padding: 0px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(100%);
    font-family: "Montserrat", Sans-serif !important;
}

.custom-favorites.open{
    opacity: 1;
    transform: translateX(0);
}

.favorites-count {
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    color: #fff;
    background-color: #5C5C53;
    text-align: center;
    font-weight: 500;
    line-height: 15px;
    position: absolute;
    right: 4px;
    bottom: 22px;
    z-index: 99;
    font-size: 10px;
}

.add-to-favorites-btn{
    display: inline-block;
    padding: 5px;
    cursor: pointer;
    border: 2px #C0BCC7 solid;
    border-radius: 6px;
    min-width: 40px;
    min-height: 40px;
    width: 40px;
    height: 40px;

}
.add-to-favorites-btn img{
    display: block;
    width: 25px;
    height: 25px;
}
.add-to-favorites-btn.added{
    border: 2px #5C5C53 solid;
}

#custom-favorites-list{
    display: block;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    padding: 0px 15px 10px 15px;
}

#custom-favorites-list.empty{
    background-image: url('https://test.e-meteora.com/wp-content/themes/meteora/woocommerce/woo-custom/woo-favorites/images/empty-favorites.svg');
    background-position: center center;
    background-size: 60% auto;
    background-repeat: no-repeat;
}

.woo-favorites-list{
    list-style: none;
    margin: 0;
    padding: 0;
}

.woo-favorites-list li{
    display: flex;
    align-items: center;
    padding: 10px 0px;
    border-bottom: 1px #E0DDD9 solid;
}

.woo-favorites-list li a{
    text-decoration: none;
    margin: 0;
    padding: 0;
    color: #000;
}

.woo-favorites-list li img{
    height: 100px;
    width: auto;
    margin-right: 10px;
    object-fit: cover;
}

.fav-text-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 5px 10px;
  font-weight: 500;
}

.fav-buttons-content{
    display: table;
    width: 100%;
    text-align: right;
}

.fav-to-cart,
.remove-from-fav{
    background-color: #5C5C53;
    border-radius: 2px;
    border: none;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    display: inline-block;
    width: 82px;
    height: 26px;
    line-height: 26px;
    box-sizing: border-box;
    text-align: center;
    transition: all 0.5s ease;
    margin-top: 10px;
    padding: 0px;
    clear:both;
}
.fav-to-cart:hover,
.fav-to-cart:focus,
.remove-from-fav:hover,
.remove-from-fav:focus{
    background-color: #9b9b8b;
    color: #fff;
}