/**
 * Copyright (c) 2023. MageCloud.  All rights reserved.
 * @author: Volodymyr Hryvinskyi <mailto:volodymyr@hryvinskyi.com>
 */

.recent-notification {
    position: fixed;
    z-index: 9999900;
    box-shadow: 0 0 3px 3px rgba(0,0,0,0.03);
    padding-bottom: 10px;
    border-radius: 10px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}
.recent-notification .recent-info {
    padding: 10px;
    border-radius: 5px;
    width: 330px;
    text-align: left;
    position: relative;
}

.recent-notification {
    position: fixed;
    z-index: 99999;
    background: #fff;
}

.recent-notification .disclaimer {
    font-size: 12px;
    line-height: 1;
}

.recent-notification .cart-header {
    display: flex;
    padding: 10px 10px 0;
    justify-content: space-between;
}

.recent-notification .cart-header .title {
    font-size: 18px;
    font-weight: 700;
}

.recent-notification .cart-header .icon {

}

.recent-notification .cart-header .icon:before {

}
.recent-notification .cart-header .button a {
    display: flex;
    align-items: center;
    padding: 3px 15px;
    max-width: 100%;
    width: max-content;
    border: none !important;
    border-radius: 2px;
    background-color: #e98678;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: .03em;
    font-weight: 700;
    font-size: 14px;
    line-height: 2rem;
    cursor: pointer;
    transition: color 0.2s;
    color: #fff !important;
}
.recent-notification .cart-header .button a:hover,
.recent-notification .cart-header .button a:focus,
.recent-notification .cart-header .button a:active {
    background-color: #e26958 !important;
}

.recent-notification .close {
    position: absolute;
    top: -9px;
    right: -9px;
    width: 20px;
    height: 20px;
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    line-height: 30px;
}

.recent-notification .close:before,
.recent-notification .close:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    background-color: white;
}

.recent-notification .close:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.recent-notification .close:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.recent-notification .close:hover {
    background-color: #d32f2f;
}

.tlposition {
    top: 10px;
    left: 25px;
}

.trposition {
    top: 10px;
    right: 25px;
}

.blposition {
    bottom: 35px;
    left: 25px;
}

.brposition {
    bottom: 35px;
    right: 25px;
}

.recent-notification .recent-info .recent-link {
    text-decoration: none;
}

.recent-notification .recent-info .recent-link:hover {
    text-decoration: none;
}

.recent-notification .recent-info > div.item-info {
    height: auto;
    min-height: 50px;
    padding: 5px;
    border-radius: 5px;
    padding-left: 70px;
}

.recent-notification .recent-info {
    margin-bottom: 10px;
}

.recent-notification .recent-info .item-image {
    position: absolute;
    height: 40px;
    border-radius: 5px;
    overflow: hidden;
}
.recent-notification .recent-info .item-image img {
    height: 40px;
    border-radius: 10px;
    padding: 10px;
}

.recent-notification .recent-info .message {
    box-shadow: none;
    text-align: left;
    text-transform: none;
}

.recent-notification .default .item-image {
    left: 0;
}

.recent-info .item-info .item-detail {
}

.recent-notification.showme {
    display: none;
}

.recent-notification.desktop {
    display: none;
}

.recent-notification .recent-info .item-image img {
    max-height: 100%;
}


@media only screen and (max-width: 520px) {
    .recent-notification {
        /*right: 10px;*/
        /*left: 10px;*/
        /*top: 10px;*/
    }
    .recent-info .item-info .item-detail {
        font-size: 12px;
    }
    .recent-notification.modileview {
        display: none;
    }

    .recent-notification.desktop {
        display: block;
    }

    .recent-notification .recent-info {
        width: 280px;
    }

    .recent-notification .recent-info > div.item-info {
        height: auto;
        min-height: 65px;
        width: 210px;
    }

    .recent-notification .recent-sales-items .item .item-image img {
        height: 109px;
    }

    .recent-notification .recent-info .item-info .item-detail {
        width: 60%;
    }

    .recent-notification .recent-info .item-image {
        height: 110px;
        left: 15px;
    }

    .trposition {
        top: 10px;
        right: 0;
        z-index: 111;
    }

    .brposition {
        bottom: 35px;
        right: 2px;
    }
    .tlposition {
        top: 10px;
        left: 12%;
    }

    .blposition {
        bottom: 35px;
        left: 12%;
    }

    .recent-sales-items.centric .item .item-image img {
        height: 100px;
    }
}

@media only screen and (max-width: 320px) {
    .recent-notification .recent-info {
        width: 270px;
    }

    .blposition {
        bottom: 35px;
        left: 14px;
    }

    .tlposition {
        top: 10px;
        left: 14px;
    }

    .recent-notification .recent-info > div.item-info {
        height: 100px;
        width: 270px;
    }

    .recent-notification .recent-info .item-info .item-detail {
        width: 56%;
    }
    .recent-notification .recent-info .item-image {
        left: 0;
    }
}

.tlposition {
    top: 10px;
    left: 0;
}

.trposition {
    top: 10px;
    right: 0;
}

.blposition {
    bottom: 15px;
    left: 15px;
}

.brposition {
    bottom: 15px;
    right: 0;
}


.recent-notification .recent-info .recent-link {
    text-decoration: none;
}

.recent-notification .recent-info .recent-link:hover {
    text-decoration: none;
}

.recent-notification .recent-info .item-image {
    position: absolute;
    height: 141px;
}

.recent-notification .default .item-image {
    left: 0;
}

.recent-info .item-info .item-detail {
    font-size: 13px;
}

.recent-notification.showme {
    display: none;
}

.recent-notification.desktop {
    display: none;
}
