/*
|--------------------------------------------------------------------------
| Overlay
|--------------------------------------------------------------------------
*/
#wr-overlay {
    position: fixed;
    inset: 0;
    display: none;
    background: rgba(0,0,0,.55);
    z-index: 99990;
}


/*
|--------------------------------------------------------------------------
| Modal
|--------------------------------------------------------------------------
*/

#wr-overlay .container-fluid,
#wr-overlay .row {
    height: 100%;
}

#wr-overlay .card {
    border-radius: 12px;
    overflow: hidden;
}

#wr-overlay .card-header {
    background: #fff;
}

#wr-overlay .card-body {
    background: #fff;
}

#wr-titulo{
    text-align: center;
    font-size: 14px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
    color: #000;
}

/*
|--------------------------------------------------------------------------
| Tabs
|--------------------------------------------------------------------------
*/
#wr-tabs {
    padding: 0px;
}
    #wr-tabs .nav-item {
        width: calc(100% / 3);
    }

    #wr-tabs .nav-link {
        cursor: pointer;
        background: #e8e8e8;
        border-radius: 0px;
        width: 100%;
        border: 0px;
        font-size: 12px !important;
        padding-left:2px;
        padding-right: 2px;
    }
        #wr-tabs .nav-link.active {
            background: #fff;
            color: #000 !important;
            font-weight: bold;
        }

/*
|--------------------------------------------------------------------------
| Conteúdo
|--------------------------------------------------------------------------
*/
.wr-tab {
    display: none;
}
.wr-tab.active {
    display: block;
}


#wr-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background: #FFF;
    transform: translateX(-100%);
    transition: transform .30s ease;
    overflow: hidden;
}


/* Painel aberto */
#wr-overlay.open #wr-panel {
    transform: translateX(0) !important;
}


/* Card */
#wr-panel .card {
    height: 100%;
}


/* Conteúdo */
#wr-panel .card-body {

}
#wr-panel .card-body .wr-tab{
    overflow-y: auto;
    height: calc(100vh - 310px);
}



.wr-item{
    display: flex;
    gap: 10px;
    align-items: center;
}
.wr-item:hover{
    background: #efefef;
}

    .wr-item-foto{
        width: 20%;
        padding: 10px;
        padding-right: 0px;
        text-align: center;
    }
        .wr-item-foto img{
            max-width: 100%;
            aspect-ratio: 5 / 7;
            max-height: 60px;
            object-fit: contain;
        }
    .wr-item-infos{
        width: 50%;
        padding: 8px;
    }
        .wr-item-infos-nome{
            color: #222 !important;
            font-weight: 500;
            font-size: 12px;
        }
        .wr-item-infos-valor{
            margin-top: 5px;
        }
            .wr-item-infos-valor *{
                color: #00818D !important;
                font-weight: bold;
                font-size: 14px;
            }
            .wr-item-infos-valor del {
                text-decoration: line-through !important;
                text-decoration-thickness: 2px !important;
                color: #000 !important;
                margin-right: 6px;
            }
                .wr-item-infos-valor del *{
                    color: #000 !important;
                }
        .wr-item-infos-parcelamento{
            color: #333 !important;
            font-size: 10px;
            margin-top:2px;
        }

    .wr-item-botao{
        width: 30%;
        display: flex;
        align-items: center;
        padding: 10px;
        padding-left: 0px;
        flex-direction: column;
    }
        .wr-item-botao-a{
            width: 100%;
            height: 50px;
            line-height: 50px;
            border-radius: 5px;
            font-size: 14px;
            color: #fff !important;
            font-weight: 500;
            background: #00818D;
            text-align: center;
        }
        .wr-item-botao .added_to_cart{
            color: #000 !important;
        }


#wr-panel-header{
    position: relative;
}

#wr-close {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 50%;

    background: #333;

    font-size: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: .2s;
}

#wr-close i {
    color: #fff !important;
}


.wr-loading{
    font-size: 12px;
    text-align: left;
    margin-top:15px;
    margin-left: 15px;
}
.wr-empty-history{
    font-weight: bold;
    font-size: 12px;
    padding: 15px;
}