#rv-wrap {
    position: fixed;
    bottom: 30px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#rv-toggle-btn {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #9f00ba;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(159, 0, 186, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
    flex-shrink: 0;
}

#rv-toggle-btn:hover {
    background-color: #7a0090;
    box-shadow: 0 6px 16px rgba(159, 0, 186, 0.45);
    transform: translateY(-2px);
}

#rv-toggle-btn svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

#rv-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background-color: #ff4d4d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: "Noto Sans KR", sans-serif;
}

#rv-panel {
    position: absolute;
    bottom: 62px;
    right: 0;
    width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
    border: 1px solid #f0e4f5;
    overflow: hidden;

    opacity: 0;
    transform: translateY(10px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

#rv-panel.rv-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

#rv-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 12px;
    border-bottom: 1px solid #f3e8f8;
    background-color: #fdf6ff;
}

#rv-panel-header .rv-title {
    font-size: 13px;
    font-weight: 700;
    color: #3a003f;
    font-family: "Noto Sans KR", sans-serif;
    letter-spacing: -0.02em;
}

#rv-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    color: #aaa;
    line-height: 1;
    font-size: 18px;
    transition: color 0.15s;
}

#rv-close-btn:hover {
    color: #333;
}

#rv-list {
    max-height: 340px;
    overflow-y: auto;
    padding: 8px 0;
}

#rv-list::-webkit-scrollbar {
    width: 4px;
}

#rv-list::-webkit-scrollbar-track {
    background: transparent;
}

#rv-list::-webkit-scrollbar-thumb {
    background: #e0c8e8;
    border-radius: 2px;
}

.rv-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s;
}

.rv-item:hover {
    background-color: #faf4ff;
    text-decoration: none;
    color: inherit;
}

.rv-thumb {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #f3e8f8;
}

.rv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rv-no-img {
    width: 100%;
    height: 100%;
    background-color: #ead5f5;
}

.rv-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rv-name {
    font-size: 12px;
    font-weight: 500;
    color: #2a2a2a;
    font-family: "Noto Sans KR", sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rv-price {
    font-size: 12px;
    font-weight: 700;
    color: #9f00ba;
    font-family: "Noto Sans KR", sans-serif;
    letter-spacing: -0.02em;
}

.rv-empty {
    padding: 24px 16px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
    font-family: "Noto Sans KR", sans-serif;
    margin: 0;
}

#rv-more-wrap {
    padding: 8px 14px 12px;
    border-top: 1px solid #f3e8f8;
    display: none;
}

#rv-more-btn {
    width: 100%;
    padding: 7px 0;
    background: none;
    border: 1px solid #d8b4e8;
    border-radius: 6px;
    font-size: 12px;
    color: #9f00ba;
    font-weight: 600;
    font-family: "Noto Sans KR", sans-serif;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
    letter-spacing: -0.02em;
}

#rv-more-btn:hover {
    background-color: #9f00ba;
    color: #fff;
    border-color: #9f00ba;
}

@media (max-width: 768px) {
    #rv-wrap {
        bottom: 85px;
        right: 16px;
    }

    #rv-toggle-btn {
        width: 46px;
        height: 46px;
    }

    #rv-toggle-btn svg {
        width: 21px;
        height: 21px;
    }

    #rv-panel {
        width: 260px;
        bottom: 56px;
    }
}