/* Salamahtype Recent Buyer */
#st-recent-buyer.st-rb {
    position: fixed;
    z-index: 999999;
    width: min(390px, calc(100vw - 28px));
    min-height: 78px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 38px 11px 11px;
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 18px;
    background: rgba(255,255,255,.38);
    box-shadow: 0 14px 42px rgba(25,20,10,.12), inset 0 1px 0 rgba(255,255,255,.72), 0 0 0 1px rgba(241,90,36,.08);
    backdrop-filter: blur(22px) saturate(155%);
    -webkit-backdrop-filter: blur(22px) saturate(155%);
    color: #202124;
    font-family: inherit;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity .65s ease, transform .65s ease, visibility .65s ease;
}

#st-recent-buyer.st-rb.st-rb-bottom-left { left: 18px; bottom: 18px; }
#st-recent-buyer.st-rb.st-rb-bottom-right { right: 18px; bottom: 18px; }

#st-recent-buyer.st-rb.st-rb-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

#st-recent-buyer .st-rb-image-wrap {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0,0,0,.05);
}

#st-recent-buyer .st-rb-image-wrap:empty { display:none; }
#st-recent-buyer .st-rb-image {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

#st-recent-buyer .st-rb-content {
    min-width:0;
    flex:1;
    line-height:1.3;
}

#st-recent-buyer .st-rb-line,
#st-recent-buyer .st-rb-purchase {
    font-size:14px;
    letter-spacing:-.01em;
}

#st-recent-buyer .st-rb-line {
    margin-bottom:3px;
    color:#30343b;
}

#st-recent-buyer .st-rb-purchase {
    color:#30343b;
}

#st-recent-buyer .st-rb-name {
    font-weight:600;
}

#st-recent-buyer .st-rb-country {
    color:#626872;
}

#st-recent-buyer .st-rb-product {
    font-weight:600;
    color:#f15a24;
}

#st-recent-buyer .st-rb-license {
    margin-top:4px;
    color:#747982;
    font-size:12px;
}

#st-recent-buyer .st-rb-close {
    position:absolute;
    top:7px;
    right:9px;
    width:24px;
    height:24px;
    padding:0;
    border:0;
    background:transparent;
    color:#70757d;
    font-size:22px;
    line-height:24px;
    font-weight:300;
    cursor:pointer;
    opacity:.82;
}

#st-recent-buyer .st-rb-close:hover { opacity:1; }

#st-recent-buyer.st-rb-animation-fade-slide.st-rb-visible { animation: stRbIn .65s ease both; }
#st-recent-buyer.st-rb-animation-fade.st-rb-visible { animation: stRbFade .65s ease both; }
#st-recent-buyer.st-rb-animation-slide.st-rb-visible { animation: stRbSlide .65s ease both; }

@keyframes stRbIn {
    from { opacity:0; transform:translateY(18px) scale(.985); }
    to { opacity:1; transform:translateY(0) scale(1); }
}
@keyframes stRbFade {
    from { opacity:0; }
    to { opacity:1; }
}
@keyframes stRbSlide {
    from { opacity:0; transform:translateX(-18px); }
    to { opacity:1; transform:translateX(0); }
}

@media (max-width: 600px) {
    #st-recent-buyer.st-rb {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        min-height: 70px;
        padding:9px 34px 9px 9px;
        border-radius:16px;
        gap:10px;
    }
    #st-recent-buyer .st-rb-image-wrap {
        flex-basis:50px;
        width:50px;
        height:50px;
        border-radius:10px;
    }
    #st-recent-buyer .st-rb-line,
    #st-recent-buyer .st-rb-purchase { font-size:13px; }
    #st-recent-buyer .st-rb-license { font-size:11px; }
}

@media (prefers-reduced-motion: reduce) {
    #st-recent-buyer.st-rb { transition:none; }
    #st-recent-buyer.st-rb-visible { animation:none; }
}


/* Salamahtype brand accent */
#st-recent-buyer.st-rb::before {
    content:"";
    position:absolute;
    left:0;
    top:14px;
    bottom:14px;
    width:3px;
    border-radius:0 4px 4px 0;
    background:rgba(241,90,36,.78);
    box-shadow:0 0 12px rgba(241,90,36,.20);
}
#st-recent-buyer .st-rb-product {
    text-shadow:0 0 18px rgba(241,90,36,.08);
}


/* v1.3.0: single purchase line with product + variation license */
#st-recent-buyer .st-rb-license-inline {
    color:#f15a24;
    font-weight:600;
}
#st-recent-buyer .st-rb-separator {
    color:#8a8f96;
    padding:0 2px;
}

/* v1.4.0: license displayed on its own line */
#st-recent-buyer .st-rb-license {
    margin-top: 2px;
    color:#777d84;
    font-size:12px;
    line-height:1.25;
}
#st-recent-buyer .st-rb-license-inline {
    color:#f15a24;
    font-weight:600;
}

/* v1.5.0: exactly two lines; variation supplies "Font | License" */
#st-recent-buyer .st-rb-license {
    display:none !important;
}
#st-recent-buyer .st-rb-purchase {
    margin-top:2px;
    line-height:1.35;
}
#st-recent-buyer .st-rb-product {
    color:#f15a24;
    font-weight:600;
}
