@keyframes slideIn {
    from {
        transform: translate(375px);
    }

    to {
        transform: translate(0px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 100%;
    }
}

@keyframes slideInMovile {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

#sd_sidebar_favoritos {
    display: none;
    position: fixed;
    height: 100%;
    overflow: hidden;
    top: 0;
    bottom: auto;
    right: 0;
    left: 0;
    background-color: #0004;
    z-index: 100;
}

#sd_sidebar_favoritos h3,
#sd_sidebar_favoritos h4,
#sd_sidebar_favoritos p {
    color: #000;
}

#sd_sidebar_favoritos.sd-sidebar-open {
    display: block;
    animation: fadeIn 0.65s;
}

#sd_resumen_favoritos {
    display: none;
    position: fixed;
    right: 5px;
    bottom: 5px;
    left: auto;
    top: 10px;
    z-index: 101;
    background-color: #fff;
    width: 375px;
    border-radius: 4px;
}

.mobile_device #sd_resumen_favoritos {
    display: none;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
    z-index: 101;
    background-color: #fff;
    width: 100%;
    border-radius: 0;
}

#sd_resumen_favoritos.sd-loved-open {
    display: block;
    animation: slideIn 0.65s;
}

.mobile_device #sd_resumen_favoritos.sd-loved-open {
    display: block;
    animation: slideInMovile 0.65s;
}

#sd_resumen_favoritos .sd_loved_header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 2.5% 5%;
    padding-top: 10%;
    /* box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px; */
}

#sd_resumen_favoritos .sd_loved_header span {
    font-size: 1.75rem;
    color: black;
    font-weight: 600;
}

#sd_resumen_favoritos .product_manufacturer {
    font-size: 12px;
}

#sd_resumen_favoritos .sd_loved_header h3 i {
  font-size: 25px;
  line-height: 25px;
}

#sd_resumen_favoritos.sd_has_loved .sd_loved_alert {
    display: none;
}

#sd_resumen_favoritos .sd_loved_alert {
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#sd_resumen_favoritos .sd_loved_alert span {
    font-size: 24px;
    padding: 5px 10%;
    color: black;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.1;
}

#sd_resumen_favoritos .sd_loved_alert p {
    font-size: 16px;
    padding: 5px 10%;
}

#sd_resumen_favoritos .btn-loved-close {
    font-size: 1.5em;
    color: black;
}

#sd_resumen_favoritos ul {
    height: calc(100vh - 93px);
    overflow-y: scroll;
}

.mobile_device #sd_resumen_favoritos ul {
    height: calc(100vh - 80px);
    overflow-y: scroll;
}

#sd_resumen_favoritos ul::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

#sd_resumen_favoritos ul::-webkit-scrollbar-button {
    width: 2px;
    height: 2px;
}

#sd_resumen_favoritos ul::-webkit-scrollbar-thumb {
    background: #666666;
    border: 0px none #ffffff;
    border-radius: 50px;
}

#sd_resumen_favoritos ul::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}

#sd_resumen_favoritos ul::-webkit-scrollbar-thumb:active {
    background: #000000;
}

#sd_resumen_favoritos ul::-webkit-scrollbar-track {
    background: #e1e1e1;
    border: 0px none #ffffff;
    border-radius: 50px;
}

#sd_resumen_favoritos ul::-webkit-scrollbar-track:hover {
    background: #333333;
}

#sd_resumen_favoritos ul::-webkit-scrollbar-track:active {
    background: #333333;
}

#sd_resumen_favoritos ul::-webkit-scrollbar-corner {
    background: transparent;
}

#sd_resumen_favoritos .sd_loved_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
    padding-left: 20px;
}

#sd_resumen_favoritos .sd_loved_container .sd_loved_left {
    flex: 0 0 20%;
}

#sd_resumen_favoritos .sd_loved_container .sd_loved_center {
    flex: 0 0 70%;
    padding-left: 3%;
}

#sd_resumen_favoritos .sd_loved_container .sd_loved_right {
    flex: 0 0 10%;
    align-self: flex-start;
}

#sd_resumen_favoritos .sd_loved_container .sd_loved_right i {
    font-size: 16px;
}

#sd_resumen_favoritos.sd_has_loved .sd_loved_button {
    display: none;
}

#sd_resumen_favoritos .sd_loved_button {
    position: absolute;
    /* top: auto;
    bottom: 0; */
    left: 0;
    right: 0;
    /* margin: 10px; */
    margin: 25px 30px;
    color: #fff;
    background-color: #000;
    border-radius: 4px;
    height: 45px;
    text-transform: uppercase;
    text-align: center;
    font-size: 1.25em;
    font-weight: 600;
    line-height: 45px;
}
